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

前端 未结 10 1766
迷失自我
迷失自我 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:12

    I had the same issue on VS2013. I had to update to VS2013 Update 5 and get the latest nuget distro for VS2013 at https://dist.nuget.org/visualstudio-2013-vsix/v2.12.0/NuGet.Tools.vsix

    Once that was done, I rebooted Visual Studio. After that I was able to use the Automapper 5.0.2 package

提交回复
热议问题