如何更新在asp.net中的dll [英] How to update dll in asp.net
问题描述
更新我的 freetextbox
版本为 3.3.0.22838
。我不知道如何更新它。我只是复制粘贴在我的仓新版本。
I update my freetextbox
version into 3.3.0.22838
. I don't know how to update it. i just copy paste my new version in bin.
和我得到这个错误:
无法加载文件或程序集FreeTextBox,版本= 3.1.5.21298,文化=中性公钥= 5962a4e684a48b87'或它的一个依赖。找到的程序集清单定义不匹配程序集引用。 (异常来自HRESULT:0x80131040)
Could not load file or assembly 'FreeTextBox, Version=3.1.5.21298, Culture=neutral, PublicKeyToken=5962a4e684a48b87' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
1号线:其中,%@页面语言=C#的MasterPageFile =〜/模板/ BackendTemplate.masterautoeventwireup =真validaterequest =false的继承=Backend_Modules_BookManagement,App_Web_wplihlju称号=无标题页 %>
Line 1: <%@ page language="C#" masterpagefile="~/Template/BackendTemplate.master" autoeventwireup="true" validaterequest="false" inherits="Backend_Modules_BookManagement, App_Web_wplihlju" title="Untitled Page" %>
很多的感谢!
推荐答案
仔细检查您的解决方案的参考汇编。右键单击>属性>特定版本应设置为False。这或跌落参考旧并添加引用到新的。无论哪种方式,你需要重新编译。第一个建议将解决它所有但未来版本。
Double check your solution's reference to the assembly. Right-click > Properties > Specific Version should be set to False. That or drop the reference to the old one and add a reference to the new one. Either way you'll need to recompile. The first suggestion will solve it for all future versions however.
这篇关于如何更新在asp.net中的dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!