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

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

    Removed both CSharp and AutoMapper. Installed CSharp (4.0.0.0) first and then added Automapper (6.1.1.0). This resolved the problem for me.

提交回复
热议问题