问题描述
使用 Visual Studio,我可以将 dll 引用作为附件图片作为示例.使用此参考信息,我可以打开(来自示例)组合项目以查找所有其他参考并继续获取所有参考文件名.
With Visual Studio, I can see the dll references as the attached picture as an example. With this reference information, I can open the (from the example) Composition project to find all the other references on and on to get all the reference file names.
是否有任何实用程序可以自动完成这项工作?我的意思是,给定一个 .NET 程序集,它会递归检查所有引用/依赖项以给出 DLL 的名称.
Is there any utility that does this job automatically? I mean, given an .NET assembly, it checks all the references/dependencies recursively to give the names of DLLs.
我检查了 cygwin 的 ldd 和 Depends.exe,但它们似乎没有显示来自其他项目的 dll,而只有系统 dll.
I checked cygwin's ldd and Depends.exe, but they don't seem to show the dlls from other projects, but only system dlls.
推荐答案
是:ildasm.exe.它与 SDK 一起安装.
Yes: ildasm.exe. It is installed with the SDK.
应位于如下路径:C:Program Files (x86)Microsoft SDKsWindowsv7.0ABin
Should be in a path like: C:Program Files (x86)Microsoft SDKsWindowsv7.0ABin
这篇关于.NET DLL 引用/依赖检查实用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!