How to find all dependencies of a .NET project?

后端 未结 8 633
一个人的身影
一个人的身影 2020-12-08 10:42

Basically, what I need is something like Dependecy Walker, but it should work with .NET applications. Is there anywhere such tool?

8条回答
  •  南笙
    南笙 (楼主)
    2020-12-08 11:38

    ildasm.exe works for this purpose as well.

    This tool is automatically installed with Visual Studio. To run the tool, use the Developer Command Prompt (or the Visual Studio Command Prompt in Windows 7).

    ildasm.exe lists a tree of namespaces, types, methods, etc. on loading an assembly.

    And you can view all dependencies of the assembly by double clicking MANIFEST, and searching for lines starting with .assembly extern.

    ildasm.exe comes with Visual Studio or .NET SDK installations, so chances are you've got it on your computer.

提交回复
热议问题