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

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -