Category / Section
How to resolve “Syncfusion.Core assembly is not copied to the local output directory when CopyLocal is set to True”?
1 min read
When multiple versions of Syncfusion.Core assembly is referred in a project file (.csproj), then the Syncfusion.Core assembly cannot be copied to the local output directory on building the project.
The following steps can be used to resolve this issue:
- Open the project file in the text editor and remove all the Syncfusion.Core assembly references except for the required Essential Studio version from the project file (.csproj).
Figure 1: Removing multiple “Syncfusion.Core” references from the project file
For example, in the above screenshot, the Syncfusion.Core assembly version 12.1400.43 is removed from the project file and only one Syncfusion.Core assembly reference is present in the project file.
- Make sure that the Copy Local property is set to true for all the Syncfusion referenced assemblies. Refer to the following screenshot.
Figure 2: Set CopyLocal to True for the Syncfusion assemblies
- Now, the Syncfusion.Core assembly is copied to the local output directory.