visual studio 2008 - Placing C# Project References in a Subfolder -
i have solution multiple projects output dlls (except main application of course). copy local set true of references , fine , dandy dlls in same directory exe.
my problem ugly. i'd put dll's in subfolder (actually 2 subfolders down precise). how can in visual studio 2008?
i've found few questions seem similar couldn't find simple answer know has exist.
edit: clearer, want know how make assembly loader references somewhere besides operating directory. users interacting of other files in directory, , less clutter there them better.
edit 2: want avoid using gac. application needs self contained.
or assemblyresolve
public static class assemblyresolver { static assemblyresolver() { appdomain.currentdomain.assemblyresolve += new resolveeventhandler(delegate(object sender, resolveeventargs args) { return assembly.loadfrom(...); }); } }
Comments
Post a Comment