NuGet Package Manager: 'AutoMapper' already has a dependency defined for 'Microsoft.CSharp'

前端 未结 10 1759
迷失自我
迷失自我 2020-11-30 04:47

I\'m trying to add AutoMapper as a dependency to a project using NuGet on Visual Studio Premium 2012, but it fails.

It says:

Operation faile

10条回答
  •  温柔的废话
    2020-11-30 05:11

    I ended up needing to update NuGet.exe that was included in the solution to be able to build NuGet packages by running:

    nuget.exe update -self

提交回复
热议问题