c# - Get the paths of all referenced assemblies -


how paths of assemblies referenced executing assembly? getreferencedassmblies() gives me assemblyname[]s. how loaded from, there?

you cannot know until assembly loaded. assembly resolution algorithm complicated , can't reliably guess front do. calling assembly.load(assemblyname) override reference assembly, , location property tells need.

however, really don't want load assemblies front, before jit compiler it. inefficient , likelihood of problems not zero. example fire appdomain.assemblyresolve event before program ready respond it. avoid asking question.


Comments

Popular posts from this blog

SAP Web Service from .NET via WCF -

email - PHP Mail Error "The Page at X Says: E-Mail can not be sent!" -

Optimized Line drawing in QT -