编译.net Web窗体时调试错误。? [英] Debug Error when compiling .net Web Form.?

查看:92
本文介绍了编译.net Web窗体时调试错误。?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Visual Studio 2013开发.net页面。当我运行调试时,我收到以下错误:



类型'ASP.masterpage_master'存在于'c:\ Users \username \ AppData \ Local \ Temp \Temporary ASP.NET Files \root \efd1c20e \f579b0cc \ App_Web_masterpage.master.cdcab7d2.j5ldj9qt.dll'和'c :\ Users\username \ AppData \ Local \ Temp \Temporary ASP.NET Files\root\efd1c20e\f579b0cc\App_Web_masterpage.master.cdcab7d2.ugxbjwp4.dll'



一些建议包括在< compilation中添加额外的项目但是=it =did =not =solve =the =problem。= i =have =also =closed =visual =studio =and =deleted =temp =files =many =mode =hold> ;

关于我还能尝试什么的任何想法?

I am developing a .net page using Visual Studio 2013. When I run debug I get the following error:

The type 'ASP.masterpage_master' exists in both 'c:\Users\username\AppData\Local\Temp\Temporary ASP.NET Files\root\efd1c20e\f579b0cc\App_Web_masterpage.master.cdcab7d2.j5ldj9qt.dll' and 'c:\Users\username\AppData\Local\Temp\Temporary ASP.NET Files\root\efd1c20e\f579b0cc\App_Web_masterpage.master.cdcab7d2.ugxbjwp4.dll'

Some suggestions include adding extra items to the <compilation but="" it="" did="" not="" solve="" the="" problem.="" i="" have="" also="" closed="" visual="" studio="" and="" deleted="" temp="" files="" many="" mode="hold">
Any ideas of what else I can try?

推荐答案

您的项目中有多个程序集可以引用的程序集文件。由于您只能使用其中一个,因此您需要将一个内容复制/粘贴到另一个并删除第一个,或删除其中一个。
You are having multiple assembly files in your project that the program can reference. Since you can use only one of them, you either need to copy/paste content of one to the other and delete the first one, or remove one of them.


这篇关于编译.net Web窗体时调试错误。?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆