How to find all dependencies of a .NET project?

2019-01-17 07:27发布

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

8条回答
霸刀☆藐视天下
2楼-- · 2019-01-17 07:33

For .NET 4, check our CheckAsm: http://www.amberfish.net/

查看更多
冷血范
3楼-- · 2019-01-17 07:35

Reflector - previously from Lutz Roeder, now from Red-Gate software.

查看更多
不美不萌又怎样
4楼-- · 2019-01-17 07:39

Reflector is not free and the other one is not free either, just a trial. I had the same problem and found this EXCELLENT tool:

http://www.codeproject.com/Articles/246858/Depends4Net-Part-1

查看更多
疯言疯语
5楼-- · 2019-01-17 07:39

Dependency Walker will work with .Net too.

the .Net layer still needs to call down to the core Windows functions like LoadLibrary and GetProcAddress to do the actual work. It is at this core level that Dependency Walker understands what is going on. So, while Dependency Walker may not understand all the language specific complexities of your application, it will still be able to track all module activity at a core Windows API level.

Reference

查看更多
做个烂人
6楼-- · 2019-01-17 07:40

NDepend is the .NET tool specialized in dependencies management and visualization. The tool proposes both a dependency graph and a dependency matrix. A free trial of the tool is available here. Here are 2 screenshots of the dependency graph followed by the dependency matrix:

NDepend dependency graph NDepend dependency matrix

查看更多
对你真心纯属浪费
7楼-- · 2019-01-17 07:46

During runtime Systernals' ProcessExplorer might be helpful to see an assemblys dependencies.

Also NDepend can show you the dependencies and how tightly your components are coupled.

查看更多
登录 后发表回答