使用DLL参考发布ASP.NET网站 [英] Publish asp.net website with reference of dll
本文介绍了使用DLL参考发布ASP.NET网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
朋友们..
当我使用已编译的dll的引用发布asp.net站点时,并且当运行这些发布网站时,发生了以下错误...
Hi friends ..
when i publish asp.net site with the reference of reference of complied dll and when run these publish web site then the following error occoured...
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\kk\35820cca\811aa62\App_Web_-vkz8jed.6.cs The type ''admin_Default'' exists in both ''c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\kk\35820cca\811aa62\assembly\dl3\7ad91993\adbe28c3_2d3ecc01\App_Web_wpsm8n6v.DLL'' and ''c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\kk\35820cca\811aa62\assembly\dl3\60ba6b1b\a98b73c2_2d3ecc01\App_Web_7jvohmgi.DLL''
任何帮助感激我.
Randeep Chauhan
Any help appreciate me.
Randeep Chauhan
推荐答案
尝试清除临时文件-
http://blogs.msdn. com/b/dougste/archive/2008/08/11/clearing-out-temporary-asp-net-files.aspx [ http://www.hanselman.com/blog/CleanUpYourTempFiles.aspx [
Give a try by cleaning out your temporary files -
http://blogs.msdn.com/b/dougste/archive/2008/08/11/clearing-out-temporary-asp-net-files.aspx[^]
http://www.hanselman.com/blog/CleanUpYourTempFiles.aspx[^]
Note, do this carefully. :)
也许清洁"可能会有所帮助.
还要检查您的引用,以确保没有两次被引用.
最后,确保您没有重复的代码(例如,剪切并粘贴后未更新的代码.
Maybe doing a "Clean" might help.
Also check your reference to ensure that nothing is referencenced twice.
Finally ensure that you don''t have duplicate code (for example code not updated after a cut&paste.
这篇关于使用DLL参考发布ASP.NET网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文