【发布时间】:2013-01-21 02:13:49
【问题描述】:
为什么我要从没有错误的构建变成 3 种类型:
命名空间名称“bla”的类型在类或命名空间“blah”中不存在(您是否缺少程序集引用?)
所有三个错误都指向同一组文件(“OpenNETCF”中有两个错误,“OpenNETCF.Win32”中有一个错误);怎么可能这些类型在当天早些时候确实存在于课堂上,而现在却不存在?我没有删除或更新这些引用...
更新
当我在VM(XP模式)中编译这个(第二天)早上时,我得到了:
Automatic Updates
Updating your computer is almost complete. Your computer needs to be restarted for the updates to take effect. Windows will restart your computer automatically in .... minutes.
我昨天也收到了这个,并没有想太多 - 只是点击了“立即重启”按钮。
重启构建后,又出现0个错误,显然不是代码本身的问题。
我不知道这是否相关,但我今天也得到了(两次 XP Mode VM 都启动了):
Devices or applications disabled
'Virtual PC/Windows CE Emulator' will cause Windows to become unstable. Windows has prevented these drivers from loading. Click here for more details.
...这带我去: http://support.microsoft.com/default.aspx?scid=kb;en-us;891667
【问题讨论】:
-
应该是“类型或命名空间...”吗?
-
嗨,吉姆;实际上我认为它是“名称空间或名称”(我现在在家,不确定,但我记得是这样)。
标签: .net reference namespaces compiler-errors opennetcf