命名空间的大量错误? [英] Massive error with namespace ?

查看:94
本文介绍了命名空间的大量错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Error   1   class 'Data_Analysis' and namespace 'Data_Analysis', declared in 'G:\programmmmm\Data-Analysis\My Project\Data_Analysis2.vb', conflict in namespace '<Default>'.    G:\programmmmm\Data-Analysis\My Project\Data_Analysis1.vb   3   11  Data-Analysis.vb







这里是代码






here is the code

Namespace Global
    Class Data_Analysis.

    End Class
End Namespace





但是它不完整,我认为这可能是错误。



它还说它无法找到.exe文件,但它在我检查过多次的文件夹和路径中。



我需要在2天内做出任何想法才能做好准备,但现在我甚至可以把你的程序寄给你,如果你想自己检查的话。 br />


用VB制作13

代码.net



however its not complete and i think that might be the error.

It also says it cant find the .exe file but its in the folder i checked many times and the path as well.

any ideas i need this in 2 days to be ready but its all wierd right now i can even send you the program if you want to check it your self.

Made in VB 13
Code .net

推荐答案

你上课了名为 Data_Analysis in Data_Analysis2.vb

you have class called Data_Analysis in Data_Analysis2.vb
Class Data_Analysis



并且 Data_Analysis1.vb


and you have namespace with same name in Data_Analysis1.vb

Namespace Data_Analysis 



将它们重命名为新的。


rename on of them to a new one.


这篇关于命名空间的大量错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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