System.Design 去哪儿了?
我正在制作一个使用 ScintillaNet 的 C# 项目,它显示:
无法解析引用的程序集“ScintillaNet”,因为它依赖于“System.Design,Version=4.0.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a”,而该依赖项不在当前目标框架“.NETFramework”中,版本=v4.0,配置文件=客户端”。请删除对不在目标框架中的程序集的引用,或考虑重新定位您的项目。
我尝试添加对 System.Design
的引用,但它不存在于我的列表中。我需要在某个地方下载它吗?我有 Microsoft Visual Studio 10。
I am making a C# project in which I am using ScintillaNet, and it says:
The referenced assembly "ScintillaNet" could not be resolved because it has a dependency on "System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project.
I tried adding a reference to System.Design
, but it doesn't exist in my list. Do I need to download it somewhere? I have Microsoft Visual Studio 10.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
转到项目的属性并选择目标框架为 .NET 4.0,而不是 Client Profile
Go to the project's properties and select the target framework to be .NET 4.0, not Client Profile