Quantcast
Channel: WE MOVED to github.com/nuget. This site is not monitored!
Viewing all articles
Browse latest Browse all 7612

Commented Issue: Package Visualizer error [2078]

$
0
0
When trying to use the package visualizer, I get an error:

"An item with the same key has already been added"

There's not much clue where the error comes from, in the title bar it says "Microsoft Visual Studio" and gives only an OK button. On clicking OK, the package visualizer does not display.

Visual Studio 2010 Ultimate SP1; NuGet 1.7
Comments: Looking at lines 68 and 71 of the [Visualizer.cs](https://nuget.codeplex.com/SourceControl/latest#src/DialogServices/Visualizer/Visualizer.cs) I feel this is a bit misleading. In the packages I show above you'll notice there are conflicting references to Newtonsoft.Json that will automagically resolved by MSBuild via an overwrite. The DBML generator implementation assumes this is impossible. It would seem to me that the nodes of the DGML should be unique by Id __and version__. This would mean you could end up with multiple package nodes on the resulting diagram with a dependency link to each. Thoughts?

Viewing all articles
Browse latest Browse all 7612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>