“Newtonsoft.Json”的架构版本不兼容

时间:2022-03-23 07:02:03

I am using Visual Studio Express Web 2012. Recently, my computer crashed so have switched to a new laptop. The same visual studio after restoring the code is throwing an error as:

我正在使用Visual Studio Express Web 2012.最近,我的计算机崩溃,所以已切换到新的笔记本电脑。恢复代码后,同一个visual studio会抛出一个错误:

The schema version of 'Newtonsoft.Json' is incompatible with version 2.2.40116.9051 of NuGet.

“Newtonsoft.Json”的架构版本与NuGet的2.2.40116.9051版本不兼容。

Of course, VS suggests:

当然,VS建议:

Please upgrade NuGet to the latest version from http://go.microsoft.com/fwlink/?LinkId=213942.

请从http://go.microsoft.com/fwlink/?LinkId=213942将NuGet升级到最新版本。

I did upgrade NuGet but still I'm receiving the same problem.

我确实升级了NuGet但仍然遇到了同样的问题。

Any help will be appreciated.

任何帮助将不胜感激。

Thank you.

谢谢。

1 个解决方案

#1


1  

Have you tried updating to VS 2015? It looks like the latest NuGet versions are compatible with either VS 2013 or 2015.

您是否尝试过更新到VS 2015?看起来最新的NuGet版本与VS 2013或2015兼容。

Here is 2015 Community edition that you can download free: https://www.visualstudio.com/vs/community/

以下是2015社区版,您可以免费下载:https://www.visualstudio.com/vs/community/

#1


1  

Have you tried updating to VS 2015? It looks like the latest NuGet versions are compatible with either VS 2013 or 2015.

您是否尝试过更新到VS 2015?看起来最新的NuGet版本与VS 2013或2015兼容。

Here is 2015 Community edition that you can download free: https://www.visualstudio.com/vs/community/

以下是2015社区版,您可以免费下载:https://www.visualstudio.com/vs/community/