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
Post a Comment