Articles in this section
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:

  1. 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).

Removing the references of unwanted syncfusion.core versions

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.

 

  1. Make sure that the Copy Local property is set to true for all the Syncfusion referenced assemblies. Refer to the following screenshot.

 

 

 

Set CopyLocal to True for the Syncfusion assemblies

Figure 2: Set CopyLocal to True for the Syncfusion assemblies

  1. Now, the Syncfusion.Core assembly is copied to the local output directory.
Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied