vb.net 当前目标框架不包括 System.Design。网络
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/20928199/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Currently targeted framework does not include System.Design. VB.NET
提问by Ninay11
I've tried to delete/remove the referenced assembly which is WindowsFormsIntegration.design, but it still does not work.
我试图删除/删除引用的程序集,即 WindowsFormsIntegration.design,但它仍然不起作用。
This is the error message:
这是错误消息:
The currently targeted framework ".NETFramework,Version=v4.0,Profile=Client" does not include "System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which the referenced assembly "WindowsFormsIntegration.Design, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" depends on. This caused the referenced assembly to not resolve. To fix this, either (1) change the targeted framework for this project, or (2) remove the referenced assembly from the project.
当前目标框架“.NETFramework,Version=v4.0,Profile=Client”不包括引用程序集“WindowsFormsIntegration.Design,Version”的“System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a” =1.0.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a”取决于。这导致引用的程序集无法解析。要解决此问题,请 (1) 更改此项目的目标框架,或 (2) 从项目中删除引用的程序集。
回答by Vland
- Go to the project options
- Click on vertical tab Compile
- Press the Advanced Compile Optionsbutton
- Choose .NET Framework 4under Target framework (all configurations)
- 转到项目选项
- 单击垂直选项卡编译
- 按高级编译选项按钮
- 在目标框架下选择.NET Framework 4 (所有配置)



