问题描述
从 EPi5 成功升级到 EPi6 后,我收到此错误
After a succesfull uppgrade from EPi5 to EPi6 i get this error
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:EPiServerSitesUppgraderaSiteNameSiteName.WebinEPiServer.Web.WebControls.dll
SiteName.Web
DLL 在 web.config 中配置为 6.0.530.0在参考中它说 6.0.530.0DLL 文件还说 6.0.530.0
The DLL is configured in web.config as 6.0.530.0 In the reference it says 6.0.530.0 The DLL file also says 6.0.530.0
有些东西我没有得到.
推荐答案
尝试从解决方案资源管理器中删除EPiServer.Web.WebControls.dll"的引用 &然后添加正确版本的引用.
Try deleting the references of "EPiServer.Web.WebControls.dll" from the Solution Explorer & then add references of correct version.
此外,您可以在记事本中打开项目文件(.csproj"或.vbproj")&检查 元素,以验证使用的版本是否正确:
Also, you can open the Project Files (".csproj" or ".vbproj") in notepad & check the <Reference/>
Elements, to verify that correct version is being used:
<Project>
<ItemGroup>
<Reference/>
...
<Reference/>
</ItemGroup>
</Project>
这篇关于程序集的版本高于引用的版本.EPI5 至 EPI6的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!