'Newtonsoft.Json' already has a dependency defined for 'Microsoft.CSharp'

后端 未结 7 1226
深忆病人
深忆病人 2020-12-05 12:57

I\'m installing NewtonSoft.Json for parsing Json in .NET application. When I\'m using Visual Studio(VS) 2012, it can not be installed via NuGet. This is the error I have go

7条回答
  •  时光取名叫无心
    2020-12-05 13:36

    Try removing existing version of package from solution package directory and then try the following command. It worked for me.

        PM> Install-Package Newtonsoft.Json -Version 9.0.1
    

提交回复
热议问题