我刚刚在其他计算机上用Visual 2010创建了一个VB.Net应用程序,我想复制它,这样我就可以在家里修改系统了。我在家里用VS2008。在复制之后,我做了这样的事情:我在网上找到了这个。
当我在电脑中打开我的系统时,我的窗口表单上都有错误。我的所有窗口窗体都有此错误。
'IContainer‘在名称空间'System.ComponentModel’中是不明确的。 'ISupportInitialize‘在名称空间'System.ComponentModel’中是不明确的
我看到的大多数错误都是这样的。我在互联网上搜索了正确的解决方案。如果有人能告诉我该怎么做。我会非常感激的。
'IContainer‘在名称空间'System.ComponentModel’中是不明确的。 名称空间'ISupportInitialize‘中的'System.ComponentModel’'GeneratedCodeAttribute‘在名称空间'System.CodeDom.Compiler’中不明确。'EditorBrowsableAttribute‘在名称空间'System.ComponentModel’中是不明确的。 'GeneratedCodeAttribute‘在名称空间'System.CodeDom.Compiler’中是不明确的。
发布于 2013-09-12 15:28:15
根据谷歌提供的第一环节,你应该这么做:
删除项目对“系统”程序集( System.dll )的引用,重新构建项目,然后将引用添加回System.dll。
https://stackoverflow.com/questions/18768329
复制相似问题