Behnam Faghih
Behnam Faghih

Reputation: 251

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.

Upvotes: 1

Views: 1141

Answers (1)

Patrick from NDepend team
Patrick from NDepend team

Reputation: 13842

You can use NDepend. First download NDepend trial, then analyze 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

Select dependeny types with 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.

dependent types exported to graph

Disclaimer: I work at NDepend

Upvotes: 1

Related Questions