Category / Section
How to refer assemblies when you deploy the sample in Windows Server?
1 min read
Referring assemblies on deploying samples in windows server
When the samples are deployed in the server, you can move all the DLL’s referred in the sample to bin folder instead of GAC reference. When you refer the assemblies from bin folder, remove the DLL version in the web.config page and in ASPX page of your sample (for ASP.NET platform) as highlighted in the following code example.
[web.config]
<system.web> <compilation debug="true" targetFramework="4.5.1"> <assemblies> <add assembly="Syncfusion.EJ.Web, Version=12.2451.0.36, Culture=neutral, PublicKeyToken=3D67ED1F87D44C89"/> <add assembly="Syncfusion.EJ, Version=12.2451.0.36, Culture=neutral, PublicKeyToken=3D67ED1F87D44C89"/> </assemblies> </compilation> </system.web> |
[ aspx ]
<%@ Register Assembly="Syncfusion.EJ.Web, Version=12.2451.0.36, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" Namespace="Syncfusion.JavaScript.Web" TagPrefix="ej" %>