c# - What's the order of executables looking for DLLs? -


possible duplicate:
in order locations searched load referenced dlls?

i have executable foo.exe references bar.dll. have put bar.dll in same folder foo.exe or put bar.dll in gac. wondering if can put bar.dll in directory(say bin directory) , ask foo.exe dlls in directory?

also, what's order foo.exe looks dlls? current folder first? gac?

you'll need handle appdomain.assemblyresolve event if assemblies neither in gac or local directory.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -