Visual studio 2012 如何修复Newtonsoft.Json程序集加载错误?

Visual studio 2012 如何修复Newtonsoft.Json程序集加载错误?,visual-studio-2012,dll,json.net,nuget,umbraco,Visual Studio 2012,Dll,Json.net,Nuget,Umbraco,我正试图将一个预先存在的Umbraco CMS站点加载到一个visualstudio项目中,我陷入了一个DLL地狱 以下是我在尝试编译站点时收到的错误消息: Could not load types from assembly Umbraco.Core, Version=1.0.5462.37503, Culture=neutral, PublicKeyToken=null, errors: Exception: System.IO.FileNotFoundException: Could no

我正试图将一个预先存在的Umbraco CMS站点加载到一个visualstudio项目中,我陷入了一个DLL地狱

以下是我在尝试编译站点时收到的错误消息:

Could not load types from assembly Umbraco.Core, Version=1.0.5462.37503, Culture=neutral, PublicKeyToken=null, errors:
Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.
File name: 'Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'
我尝试从NuGet重新安装Newtonsoft,从NuGet重新安装Umbraco,删除所有DLL并重新安装,删除Newtonsoft dependentAssembly,以及我找到的所有可能的解决方案,但此错误仍在继续


有什么建议吗?

我猜web.config文件中没有正确设置绑定重定向。请尝试在nuget package manager控制台中运行此命令:

PM> Get-Project –All | Add-BindingRedirect

这对我来说是一个误解,因为我看了翁布拉科的视频。我试图建立一个新的VisualStudio项目,导入所有需要的DLL,然后将站点内容移动到项目中


我真正需要做的就是创建一个空白项目,然后将网站内容及其所有DLL移动到项目中。这让我立即开始编辑项目。

最好的解决方案是安装早期版本的软件包,然后升级