Generate graphs of your Visual Studio project dependencies.

VS Graph is a simple tool for graphically depicting the structure of your Visual Studio solution, showing you the relationships between projects and the assemblies on which they depend.

VSGraph can help you understand a new solution, by generating a simple diagram showing all of the projects in the dependencies. It can also help you troubleshoot by making it easier to see whether all your projects are configured in the same manner.

VSGraph is designed for easy integration into your continuous integration system so that you always have an up to date diagram documenting in your solution structure.

Usage

VSGraph is a commandline tool that reads in your solution (.sln) files and generates a dependency graph.

vsgraph <solution> [<solution>] [-o] [--option]

Here is a summary of the options available in the current release. To see the parameters available in your version, just run vsgraph.exe with no parameters.

Long formShort formDescription
–font-fFont to use for labels.
–help-hDisplay help.
–output-oOutput image file.
–dot-file-dfSave Dot script to this file.
–dots-per-inch-dpiDots per inch for rendering.
–merge-edges-meMerge dependency edges.
–remove-transitive-dependencies-rtdSimplify the graph by removing transitive dependencies.
–hide-assemblies-haSpecify assemblies to hide by wildcard

You can use either the long or short form of each option. One useful approach is to use the long form when writing a batch file (for clarity) but the short form to save time when working directly at the console prompt.

If you have multiple related solutions, you can list all the solution files on the same commandline to see all on the same graph.

Dependencies

VSGraph requires .NET 4.0 and GraphViz to be installed.

Download

VSGraph v0.3


VSGraph

VSGraph
Features
History

Related Blog Posts

VSGraph 0.3.2222 Jun 2011
VSGraph 0.2.1314 Jun 2011
Announcing VSGraph08 Jun 2011
Prototyping a new tool27 May 2011