Support for VB.Net in VS Solution Dependency Visualizer 0.90

VS Solution Dependency Visualizer user janv8000 asked whether it would be possible to add analysis of VB.Net projects to vssdv. Until version 0.80, only C# projects were supported.

I had a look through the source code and was surprised that there were only a couple of places that caused the restriction to C#. After modifying teh codez to include VB.Net projects, I just needed a real-world VB.Net to test the new functionality. I knew that DNN changed from VB to C# in version 6, so I downloaded the source code of version 4 and 5 to run my tests.

Here are the results:

Resulting png’s show the dependency analysis of the DNN solutions from version 4 thru version 6, both with dependencies between source code projects, and dependencies on referenced project assemblies (without GAC assemblies).

Another issue that bugged me for quite some time now was the poor performance during dependency analysis. The root of the bug lay in a Linq statement which effectively caused a nested loop, and was resolved by replacing a .Where() condition by a Dictionary of respective types.

As usual, the latest release of VS Solution Dependency Viewer is available for download here.

2 Responses to Support for VB.Net in VS Solution Dependency Visualizer 0.90

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: