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.

Alt text

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 Imports in file, does not scan the targets.
  • Exception handling is minimal.

Future plans

  • 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

About author
Utkarsh Shigihalli
Utkarsh Shigihalli
Utkarsh is passionate about software development and has experience in the areas of Azure, Azure DevOps, C# and TypeScript. Over the years he has worked as an architect, independent consultant and manager in many countries including India, United States, Netherlands and United Kingdom. He is a Microsoft MVP and has developed numerous extensions for Visual Studio, Visual Studio Code and Azure DevOps.
We Are
  • onlyutkarsh
    Utkarsh Shigihalli
    Microsoft MVP, Technologist & DevOps Coach

  • arora_tarun
    Tarun Arora
    Microsoft MVP, Author & DevOps Coach at Avanade

Do you like our posts? Subscribe to our newsletter!
Our Book