Stop syncfusion outputting ALL control DLL to bin file

Hi everyone, 
new syncfusion - new WPF coder here.
I have created an app to play around with but it is outputting ALL syncfusion themes and controls into my bin folder.

I'm using using a doughnut chart!

I instlaled the licncing package and the charts package.. 
How can i stop it outputting all these dlls?


1 Reply

SM Saravanan Madheswaran Syncfusion Team May 30, 2023 06:54 AM UTC

Hi Glenn,


To stop Syncfusion from outputting all the control DLLs into your bin folder, you can follow these steps:

  • Remove unnecessary Syncfusion DLL references: Open your project in Visual Studio, go to the References section in the Solution Explorer, and remove the references to Syncfusion DLLs that you are not using in your project. Make sure to keep the references for the essential Syncfusion components that you need, such as the Chart.

  • Ensure Copy Local is set to False [if needed]: After removing the unnecessary references, select the remaining Syncfusion DLL references and check their properties in the Properties window. Make sure the property "Copy Local" is set to False. This setting prevents the DLLs from being copied to the output bin folder.

  • Check NuGet Package references: Verify that you have installed the required Syncfusion packages via NuGet. You mentioned installing the licensing package and the charts package. Ensure that you have installed only the necessary packages and that there are no redundant packages installed.

  • Clean and rebuild the project: Once you have made the necessary changes, clean your project by right-clicking on the project in the Solution Explorer and selecting "Clean." After that, rebuild the project by right-clicking on the project and selecting "Rebuild." This process should remove any unwanted DLLs from the bin folder.


We hope it would help you to resolve your problem.


Regards,

Saravanan.


Loader.
Up arrow icon