There are some third party dlls in Bin folder. I would like to move them to root/lib path. I think, it is not enough move the files to lib folder. How can i do this, safely? These are dlls;
- Microsoft.Web.Infrastructure.dll
- Newtonsoft.Json.dll
- NReco.PdfGenerator
- System.Web.Optimization.dll
- WebGrease.dll
Update: I followed these instructions and i got an error like; The type or namespace name 'Optimization' does not exist in the namespace 'System.Web'
The error occurred on this line: using System.Web.Optimization;
I created a new lib folder on root directory, moved System.Web.Optimization.dll file to lib. Then, i edited my web.config as below;
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" />
</dependentAssembly>
<probing privatePath="bin;lib"/>
</assemblyBinding>