简体   繁体   中英

Find dependencies of .Net project

I have a solution with multiple projects. I want to find all dependencies of a particular project such as entities, classes, resources,... that they are exists in other projects of that solution. I tried Reflector but it does work as that accurate I believe.

You can use NDepend. First download NDepend trial , thenanalyze your solution . Then in the NDepend dependency diagram right-click the concerned project, then:

  • Select Types > that are Using Me Directly
  • or Select Types > that I Use Directly

使用 NDepend 选择依赖类型

Both menus will generate a C# LINQ code query and you can then export the matched user types (or used types) to the dependency graph.

导出到图形的依赖类型

Disclaimer: I work at NDepend

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM