VS 2010 : Custom graph dependency analyzer

VS 2010 : Custom graph dependency analyzer

After showing you how to customize IntelliTrace, i’ll show you today how you can create your own graph dependency analyzers for VisualStudio 2010 architecture tools.

Before starting here is another warning (still in bold and red so everyone sees it :) ):

Microsoft does not give any documentation or support on all that i will explain because even it’s possible, the functionality is not supported.

Now that you are warned lets start implementing a small analyzer which will show us all nodes starting with “Qetza.”.

First we create a class library and add the following assembly references:

  • Microsoft.VisualStudio.Progression.Common
  • Microsoft.VisualStudio.Progression.GraphModel
  • Microsoft.VisualStudio.Progression.Interfaces

These assemblies are in the sub directory “Common7\IDE\PrivateAssemblies” of your VisualStudio 2010 install directory (by default “C:\Program Files\Microsoft Visual Studio 10.0″).

read more →