I am trying to get the dependency assemblies and the location where it is loading.
To find the dependencies I am using the following code.
var assemblies = Assembly.LoadFile("C:\\My Folder\\ MyApp.exe").GetReferencedAssemblies();
I am using the for-each to get the list of assembly names to find the dependency list.
How to get the location of each dependency assembly?
How to get the dependency of dependent assemblies? For example, if am using myAppBase.dll in the MyApp application, How can I get the dependencies of myAppBase.dll.
Aucun commentaire:
Enregistrer un commentaire