0

我刚刚在另一台计算机上使用 Visual Studio 2010 创建了一个 VB.Net 应用程序,我想复制它,以便我可以在家修改系统。我在家里使用VS2008。复制后,我这样做了:我在互联网上找到的

  • 格式版本 10.00(从 11.00 更改为 10.00)
  • # Visual Studio 2008(从 2010 更改为 2008)

当我在我的计算机中打开我的系统时,我的窗口窗体上到处都是错误。我所有的窗体都有这个错误

“IContainer”在命名空间“System.ComponentModel”中不明确。

“ISupportInitialize”在命名空间“System.ComponentModel”中不明确

我看到的大部分错误都是这个。我已经在互联网上搜索了正确的解决方案。如果有人能告诉我我该怎么做。我将不胜感激。

“IContainer”在命名空间“System.ComponentModel”中不明确。

“ISupportInitialize”在命名空间“System.ComponentModel”中不明确 “GeneratedCodeAttribute”在命名空间“System.CodeDom.Compiler”中不明确。“EditorBrowsableAttribute”在命名空间“System.ComponentModel”中不明确。
“GeneratedCodeAttribute”在命名空间“System.CodeDom.Compiler”中不明确。

4

1 回答 1

0

根据 Google 提供的第一个链接,您应该这样做:

删除项目对“系统”程序集 (System.dll) 的引用,重新构建项目,然后将引用添加回 System.dll。

于 2013-09-12T15:28:15.463 回答