I suggest you ...

tell user which NuGet package key is a duplicate

Instead of:

<<Error occurred while restoring NuGet packages: An item with the same key has already been added>>

please write:

<<Error occurred while restoring NuGet packages: An item with the same key (Microsoft.CodeAnalysis.FxCopAnalyzers Version="2.6.0") has already been added (MyProject.csproj, line 33)>>

10 votes
Vote
Sign in
(thinking…)
Password icon
Signed in as (Sign out)
You have left! (?) (thinking…)
François Génolini shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Password icon
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base