开发者

Programmatically determine assembly dependencies

开发者 https://www.devze.com 2023-01-23 02:04 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号