In dot net you can put the dlls in separate directory from the exe. You need to add following code in your config file.
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" >
<probing privatePath="bin;bin2"/>
</assemblyBinding>
</runtime>
</configuration>
privatePath : contains the directory name where put your dll files. It may contain multiple directory name separated by semi colon.
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" >
<probing privatePath="bin;bin2"/>
</assemblyBinding>
</runtime>
</configuration>
privatePath : contains the directory name where put your dll files. It may contain multiple directory name separated by semi colon.
No comments:
Post a Comment