How do I get my app to look in a bin folder?

  • Thread starter Thread starter Scott McNair
  • Start date Start date
S

Scott McNair

I have an app that uses several third-party controls extensively. Rather
than have all the DLL's reside directly in the C:\Program Files\UserApp\
directory, I'd like to have them reside in C:\Program Files\UserApp\bin\
and have the application know to look there for DLL's. Is there an easy
way to go about doing this?
 
Scott McNair said:
I have an app that uses several third-party controls extensively. Rather
than have all the DLL's reside directly in the C:\Program Files\UserApp\
directory, I'd like to have them reside in C:\Program Files\UserApp\bin\
and have the application know to look there for DLL's. Is there an easy
way to go about doing this?

I suggest to read the following chapter of the documentation, and especially
the chapters referenced in the bottom of the article:

How the Runtime Locates Assemblies
<URL:http://msdn2.microsoft.com/en-us/library/yx7xezcf.aspx>
 
Back
Top