Articles in this section
Category / Section

How do I deploy my WindowsForms application built using the Syncfusion components?

5 mins read

To deploy an application that uses the Syncfusion assemblies, the referenced Syncfusion assemblies should be available in the application folder where the application exe file is located, in the target machine.

Refer the following steps to deploy an application from a development machine to the target machine.

1. Open the project in Visual Studio in the Development machine.

2. Click and open the References folder in the Solution Explorer window.

3. Select all the Syncfusion assemblies.

4. In the Properties window, change the Copy Local property to True.

 

Note:

The selected assemblies referenced in the project will be copied to the project output directory (where the exe file is located).

 

Next step is to ensure the validation of the license for the product.

To ensure that the system does not throw a Licensing Error,

1.       Right –click the licenses.licx  file under the Solution Explorer window. A context menu appears.

 

Note:

If the license.licx file is not available under the Solution Explorer window, you can add a file from the following location:

${Install_Drive}:\Program Files\Syncfusion\Essential Studio\${EssentialStudio_Version}\Templates\licenses.licx

 

 

For example: C:\Program Files\Syncfusion\Essential Studio\7.3.0.20\Templates\licenses.licx

2.       Click Properties on the context menu.

3.       In the Properties window, set the Build Action property to be Embedded Resource.

4.    Compile the project. You will be able to see that the Syncfusion assemblies referenced in the project are copied to the output directory adjacent to the application exe file in the folder (bin/debug/).

Note:

Ensure that you have Syncfusion.Core dll is available in the same location. A copying error may occur while setting the CopyLocal propert to True. In such cases, the Syncfusion.Core dll can be manually copied to the from the precompiledassemblies folder. Refer the path below:

${Install_Drive}:\Program Files\Syncfusion\Essential Studio\${EssentialStudio_Version}\precompiledassemblies\${EssentialStudio_Version}\${.NET_Framework}\

 

 

For example:

C:\Program Files\Syncfusion\Essential Studio\7.3.0.20\precompiledassemblies\7.3.0.20\2.0

6. Deploy the application exe along with the Syncfusion assemblies available in the project output folder to the target machine.

 It should be ensured that the Syncfusion assemblies reside in the same location as the application exe in the target machine.

Refer the image in the link below to understand the setting in the Visual Studio environment.

Image


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