NuGet Json.Net Install Erros VS 2010 Shell

六眼飞鱼酱① 提交于 2019-12-25 08:36:51

问题


I am trying to install NuGet do that I can use Json.Net Extensions.

I have installed version 2.8.60318.667 (which was the download from Microsoft for VS2010.

When I try and install Json.Net by the Package Manager Console it fails

    PM> Install-Package Newtonsoft.Json
Attempting to resolve dependency 'Microsoft.CSharp (≥ 4.3.0)'.
Install-Package : 'Microsoft.CSharp' already has a dependency defined for 'System.Dynamic.Runtime'.
At line:1 char:16
+ Install-Package <<<<  Newtonsoft.Json
    + CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand

PM>

When I try and do it via the Manage NuGet Packages UI Get this error. when I then try to install Microsoft CSharp extension I get this error

When I click the Upgrade NuGet button at the bottom there is no update to 2.12 and the only thing I can find is for VS 2013

Is there a way to get this extension to work for VS2010 Shell?

来源:https://stackoverflow.com/questions/43646661/nuget-json-net-install-erros-vs-2010-shell

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!