【发布时间】:2015-03-27 15:32:33
【问题描述】:
一个客户或我们的客户要求我们查看他的应用程序以修复一些错误,但他的应用程序引用了 Telerik.Web.UI。我在我的机器上下载了 Telerik 的试用版,希望它可以工作,但我收到错误:无法加载文件或程序集 'Telerik.Web.UI, Version=2014.3.1024.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one它的依赖项
当我查看我的版本时,它是 2015.1.225.40 版本。如何解决这些类型的情况,尤其是当您只想帮助客户时?我尝试做一些绑定重定向:
<runtime>
<dependentAssembly xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity name="Telerik.Web.UI" publicKeyToken="121fae78165ba3d4" culture="neutral"/>
<bindingRedirect oldVersion="2014.3.1024.35" newVersion="2015.1.225.40"/>
</dependentAssembly>
但这没有用。仍然得到同样的错误。
【问题讨论】: