MSBuild Dependency Visualizer toolJan 11, 2016 | Utkarsh Shigihalli VisualStudio MsBuild Dependency Visualizer
My current client is still on TFS 2010 and is getting ready to upgrade to TFS 2015. One of the important task during the upgrade is to analyze your build dependencies. We have a lot of MSBuild (we have .proj extension) files which are triggered via our build definitions which have dependencies on other files. It becomes really hard to debug or understand the dependencies manually. I hence decided to write a small utility to visualize these dependencies. Take a look at the following screenshot of the tool.
As you can see, the tool visualizes the dependencies in a nice connected graph. On selecting any node (color yellow), it highlights the parent (in light blue) and child (in pink color) dependencies. Also, clicking a node marks the parent links in blue and child links in red.
Please note, the tool is in early beta version and there are few limitations/known issues.
- The tool does not resolve properties.
- Scans only
Importsin file, does not scan the targets.
- Exception handling is minimal.
- Save the graph as image
- Ability to double click and open the file
- On demand scan of the targets within the file
For anyone curious, I am using following components
You can download the source code from GitHub