'UserControl'在命名空间'命名空间'中是不明确的 [英] 'UserControl' is ambiguous in the namespace 'namespace'

查看:70
本文介绍了'UserControl'在命名空间'命名空间'中是不明确的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

'ExportToExcelUc'是控件的ID,也是ascx文件的名称。此文件在我的项目中的许多aspx文件中注册。我的项目编译得很好,但是当我去发布它时,我得到这些错误:


\ ... \SearchOrderUc.ascx(472):错误BC30560:'ExportToExcelUc'命名空间'TracePro'中含糊不清。       


'ExportToExcelUc'在命名空间'TracePro'中不明确。    \ ... \SearchOrderUc.ascx    472   


'ExportToExcelUc'在命名空间'TracePro'中不明确。    \ ... \SearchQuoteUc.ascx    341   


'ExportToExcelUc'在命名空间'TracePro'中不明确。    \ ... \TrackingGridUc.ascx    234   


我已经尝试删除\ Bin \和Temp ASP.NET文件。


感谢您的帮助,


Scott

解决方案

嗨斯科特,


 


感谢您在MSDN论坛上发帖。


< p style ="margin:0cm 0cm 0pt">  


你介意让我们知道更多信息关于这个问题?您是否使用Visual Studio Debugger?我做了一些研究工作,但是我没有找到与Visual Studio Debugger相关的信息。


请详细描述您的问题,我们将能够提供更快更好的响应。


 


如果您的项目与Web项目有关,则可以发布
问题

http://forums.asp.net <跨度> <跨度> <跨度> < span style ="font-family:Calibri">
asp.net专家居住的地方。


 


最诚挚的问候,


&NBSP;


'ExportToExcelUc' is the ID of a control and also the name of an ascx file. This file is registered in many aspx files in my project. My project compiles just fine, but when I go to Publish it, I get these errors:

\...\SearchOrderUc.ascx(472): error BC30560: 'ExportToExcelUc' is ambiguous in the namespace 'TracePro'.       
'ExportToExcelUc' is ambiguous in the namespace 'TracePro'.    \...\SearchOrderUc.ascx    472   
'ExportToExcelUc' is ambiguous in the namespace 'TracePro'.    \...\SearchQuoteUc.ascx    341   
'ExportToExcelUc' is ambiguous in the namespace 'TracePro'.    \...\TrackingGridUc.ascx    234   

I have already tried deleting \Bin\ and Temp ASP.NET files.

Thanks for any help,

Scott

解决方案

Hi Scott,

 

Thank you for posting in the MSDN forum.

 

Would you mind letting us know more information about this issue? Whether you are using Visual Studio Debugger? I did some research works, but I don’t find the information which is related to Visual Studio Debugger.

Please describe your problem in detail, and we will be able to provide quicker and better responses.

 

If your project is about the web project, you could post this issue in http://forums.asp.net where asp.net experts live in.

 

Best Regards,

 


这篇关于'UserControl'在命名空间'命名空间'中是不明确的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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