like the subject says, I want to programmatically enumerate the assemblies to which an assembly of which I have the DLL refers开发者_运维知识库 in order to resolve the dependencies.
Thank you in advance.
Assembly.GetReferencedAssemblies() does what you want. Simple call this recursively for each assembly
You're looking for the Assembly.GetReferencedAssemblies()
method.
精彩评论