C#: Custom assembly directory

Posted by Svish on Stack Overflow See other posts from Stack Overflow or by Svish
Published on 2009-10-20T12:19:50Z Indexed on 2010/06/08 6:52 UTC
Read the original article Hit count: 204

Say we have an application which consists of one executable and 5 libraries. Regularly all of these will be contained in one directory and the libraries will be loaded from there.

Is it possible to do so that I can have for example some of the libraries in one directory called Lib, and the rest in one called Lib2? So that the application directory would only contain the executable itself and the other assemblies would be contained in various logical directories.

How can I do this? And I would like to know how to do the loading of the assemblies, but also how to make the building of the application put the assemblies in the right directory.

© Stack Overflow or respective owner

Related posts about c#

Related posts about assemblies