Dependency graph for assembly in Vs 2010 beta 2

In Visual Studio 2010 beta 2, on opening the application, click on ‘Architecture’ menu, you will find ‘Generate Dependency Graph’. On expanding, you will find ‘by assembly’, ‘by namespace’, ‘by class’ and custom.

Select any one that suits your requirement, and explore how your code calls each and every method in the application, how code is dependent on other blocks in the application etc. Using this diagram, you can find orphan classes, methods and functions and you can easily weed them out.

Simple isn’t it 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *