The type or namespace name 'Windows' does not exist in the namespace....
2011-04-22 22:36
711 查看
郁闷了,正在使用的工程突然之间报错,整个工程下建立的窗体全部不能使用
报错如下"The type or namespace name 'Windows' does not exist in the namespace...."
开发环境 vs2010+sql2008
工程内已正确引用
system.windows.forms 版本 v4 路径正确,以下同
system.drwaing
syste system.core....
代码内正确引用
using system.windows.forms
请问各位有遇到过这样情况的没?先谢了,TMD莫名奇妙的错误。
对比TFS上的版本也没有发现任何更改
这个解决方案下面有两个winform工程,这是其中一个报的错,报错后的这个工程无法在新建立窗体,但另一个工程却可以,而且引用的系统类库我一一比对都是一样一样的:(
刚才到csdn上发了个求助贴,然后就在想我动过什么,最终锁定在了一个引用类库X.SYTEM ,我KAO,居然是命名空间冲突也会造成这样的问题,疯了!
报错如下"The type or namespace name 'Windows' does not exist in the namespace...."
开发环境 vs2010+sql2008
工程内已正确引用
system.windows.forms 版本 v4 路径正确,以下同
system.drwaing
syste system.core....
代码内正确引用
using system.windows.forms
请问各位有遇到过这样情况的没?先谢了,TMD莫名奇妙的错误。
对比TFS上的版本也没有发现任何更改
这个解决方案下面有两个winform工程,这是其中一个报的错,报错后的这个工程无法在新建立窗体,但另一个工程却可以,而且引用的系统类库我一一比对都是一样一样的:(
刚才到csdn上发了个求助贴,然后就在想我动过什么,最终锁定在了一个引用类库X.SYTEM ,我KAO,居然是命名空间冲突也会造成这样的问题,疯了!
相关文章推荐
- The type or namespace name 'Windows' does not exist in the class or namespace 'System'
- Error:The type or namespace name 'Office' does not exist in the namespace 'Microsoft' 解决方法
- The type or namespace name 'Zhaopin' does not exist in the namespace 'LMSoft' 问题的解决
- Unity3d——报错 The type or namespace name `Ports' does not exist in the namespace `System.IO'
- Compiler Error Message: CS0234: The type or namespace name 'BorderDetails' does not exist in the class or namespace 'Infragistics.WebUI.Shared' (are you missing an assembly reference?)
- CS0234 The type or namespace name 'Mvc' does not exist in the namespace 'Microsoft.AspNet' (are you
- [EntLib]解决The type or namespace name 'Data' does not exist in the namespace 'Microsoft.Practices.EnterpriseLibrary' 的错误
- 解决The type or namespace name \'XXXX\' does not exist in the namespace \'XXXXXXXXX\' 的错误
- CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System.Data'
- The type or namespace name 'Service' does not exist 异常处理
- The type or namespace name 'AjaxControlToolkit' could not be found in the global namespace
- The type or namespace name 'AjaxControlToolkit' could not be found in the global namespace
- java.lang.UnsatisfiedLinkError,(A file or directory in the path name does not exist.
- The name does not exist in the namespace error in XAML
- WCF分布式开发常见错误(4):The type or namespace name 'DataContract' could not be found DataContract找不到
- About Derby "ERROR 42X51: The class '***' does not exist or is inaccessible. This can hap pen if the class is not public."
- The name does not exist in the current context
- The type or namespace name '***' could not be found (are you missing a using directive or an asse
- The name ‘InitialzeComponent’ does not exist in the current context
- The type or namespace name 'DbContext' could not be found-vs2012