We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Syncfusions suggested method of deploying the dependencies required by multiple WPF applications

I have multiple applications that don't use all the same set of syncfusion controls. Because of this I don't copy the dlls dependencies to the executable output folder. I want to be able access either the 

\precompiledassemblies\4.6

or

\Assemblies\4.6

and add it to my installation application to install on the target machine.

How do I access these folders without hardcoding the path (in case i installed a new version of essential studio)?

Which folder should I be using (precompiledassemblies or Assemblies)?

I was wondering if there a suggested method of deploying the syncfusion dependencies?


Thanks.





1 Reply

SS SaiGanesh Sakthivel Syncfusion Team February 3, 2023 12:17 PM UTC

Hi Zeljiko,


Q1) I want to be able access either the 

\precompiledassemblies\4.6

or

\Assemblies\4.6

and add it to my installation application to install on the target machine.

Which folder should I be using (precompiledassemblies or Assemblies)?

A1) After installing the setup, on compiling your project, you can refer the Syncfusion assemblies from the “Assemblies” folder.


Please ensure to set “CopyLocal” as True to all the Syncfusion assemblies in your project and ensure that all the Syncfusion assemblies present in the deployment folder of your application, while deploying the application in your target machine.


Then while deploying it to machine, you should copy\pack all the Syncfusion dependent assemblies along with your application and place it to the deployment location.


Q2) How do I access these folders without hardcoding the path (in case i installed a new version of essential studio)?

A2) You can get the installation path of the required version from the registry


Registry path: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Syncfusion\Essential Suite\InstalledVersions\20.4.0.48



After getting the path from registry, you can append the “Assemblies” folder to the path to get the full assemblies path.


C:\Program Files (x86)\Syncfusion\Essential Studio\WPF\20.4.0.48\Assemblies


Q3) I was wondering if there a suggested method of deploying the syncfusion dependencies?

A3) As we have previously said, ensure to set “CopyLocal” as True to all the Syncfusion assemblies in your project and ensure that all the Syncfusion assemblies present in the deployment folder of your application, while deploying the application in your target machine


Regards,

Jeyaseelan M


Loader.
Live Chat Icon For mobile
Up arrow icon