【发布时间】:2013-12-06 10:35:20
【问题描述】:
我在 Nop.Core.dll 中找不到 .dll 时遇到一些严重问题(我认为) PluginManager.cs在VS12的输出中写入的dll消息如下:
Could not load file or assembly 'Telerik.Web.Mvc, Version=2012.2.607.340, Culture=neutral, PublicKeyToken=29ac1a93ec063d92' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
我已将正确版本的 Telerik.Web.Mvc 添加到 Nop.Core 库并构建了一个新的 .dll,但问题仍然存在。 我还检查了 GAC 中缓存的 .dll,但没有。
这个问题是在 VS12 重新启动后发生的,所以这里发生了一些奇怪的事情。我已经尝试在构建时禁用/启用自动更新 nuget(因为我认为它可能正在获取一些可能会产生冲突的新 dll)但没有。
我确实看到解决方案正在运行 .net 4.5,但 Telerik.Web.Mvc.dll 目标框架是:
TargetFramework(".NETFramework,Version=v4.0", FrameworkDisplayName=".NET Framework 4")].
这会导致某些 dll 找不到 Telerik.Web.Mvc.dll 吗?
作为 nopCommerce 的新手,我在这一点上有点迷失了。我在这里做错了什么? =)
/seb
编辑:
【问题讨论】:
标签: c# asp.net-mvc-4 dll telerik nopcommerce