assemblies - C#: Custom assembly directory -
say have application consists of 1 executable , 5 libraries. regularly of these contained in 1 directory , libraries loaded there.
is possible can have example of libraries in 1 directory called lib, , rest in 1 called lib2? application directory contain executable , other assemblies contained in various logical directories.
how can this? , know how loading of assemblies, how make building of application put assemblies in right directory.
you can add additional search paths app.config looks in load assemblies. example
<runtime> <assemblybinding xmlns="urn:schemas-microsoft-com:asm.v1"> <probing privatepath="lib;thirdparty" /> </assemblybinding> </runtime>
you can see more details here.
Comments
Post a Comment