System.Design 去哪儿了?

发布于 2024-09-05 01:32:24 字数 372 浏览 2 评论 0原文

我正在制作一个使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦太阳 2024-09-12 01:32:24

转到项目的属性并选择目标框架为 .NET 4.0,而不是 Client Profile

Go to the project's properties and select the target framework to be .NET 4.0, not Client Profile

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文