Search code examples
c#classinheritancedependencies

Project/solution class inheritance tree and dependency graph


Is there any way to get inheritance tree and/or class dependency graph for the whole Visual Studio project/solution from code? I know that it's possible to iterate through all classes and check keywords but I'm looking for easier way.


Solution

  • There is a Dependency graph feature in Visual Studio 2010. It is a new architecture tool available in VS2010.

    The generated graph looks something like this,

    Dependency graph

    Similar question