Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Project Reference & Nuget Package Reference Conflict - Key with same name already exists

$
0
0

Using Visual Studio 2019 Version 16.6.0 Preview 2.1 - I have a solution with two projects:

Project A - Has a nuget package dependency Package1

Project B - Has a project reference to Project A

I now also require that Project B include the same nuget package dependency Package 1

When i attempt to install the package I get an error "An item with the same key has already been added".

I have seen a few posts that discuss this, but no definitive solution. For debugging purposes I want to keep Project A as a project reference for Project B. Any idea how I can solve for this?


Viewing all articles
Browse latest Browse all 3067

Trending Articles



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