从EPi5到EPi6的成功升级后,我得到了这个错误
Error 101 Assembly 'EPiServer.Web.WebControls, Version=6.0.530.0, Culture=neutral,
PublicKeyToken=8fe83dea738b45b7' uses 'EPiServer, Version=6.0.530.0, Culture=neutral,
PublicKeyToken=8fe83dea738b45b7' which has a higher version than referenced assembly 'EPiServer,
Version=5.2.375.236, Culture=neutral, PublicKeyToken=8fe83dea738b45b7'
c:\EPiServer\Sites\UppgraderaSiteName\SiteName.Web\bin\EPiServer.Web.WebControls.dll
SiteName.Web
DLL在web.config中配置为6.0.530.0 在参考文献中它说6.0.530.0 DLL文件也说6.0.530.0
有些东西我无法获得。
答案 0 :(得分:3)
尝试从Solution Explorer& amp;中删除“EPiServer.Web.WebControls.dll”的引用。然后添加正确版本的引用。
此外,您可以在记事本中打开项目文件(“.csproj”或“.vbproj”)。检查<Reference/>
元素,以验证是否使用了正确的版本:
<Project>
<ItemGroup>
<Reference/>
...
<Reference/>
</ItemGroup>
</Project>