【发布时间】:2015-02-16 18:01:49
【问题描述】:
我正在尝试将预先存在的 Umbraco CMS 站点加载到 Visual Studio 项目中,并且陷入了一些 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 依赖程序集,我找到了所有可能的解决方案,并且此错误继续出现上来。
有什么建议吗?
【问题讨论】:
标签: visual-studio-2012 dll json.net nuget umbraco