Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DLL files in a special folder? 1

Status
Not open for further replies.

mrdance

Programmer
Apr 17, 2001
308
SE
I don't want all dll:s of my project to reside in the same folder as the application, how can I, for example, tell it to put and look for dlls in \appfolder\dll\ ?

thanks

--- neteject.com - Internet Solutions ---
 
no, I am talking about the execution folder. Where and how do I change where the exe looks for the dlls?

--- neteject.com - Internet Solutions ---
 
The .net runtime has a certain algorithm for locating files at runtime, and I think you'll have a very tough time changing it's behavior.

Read more at these links (if you have the MSDN library installed on your machine)
ms-help://MS.MSDNQTR.2005JAN.1033/cpguide/html/cpconHowRuntimeLocatesAssemblies.htm
and
ms-help://MS.MSDNQTR.2005JAN.1033/cpguide/html/cpconstep4locatingassemblythroughcodebasesorprobing.htm

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top