错误:框架“.NETFramework 4.0客户端配置文件”未安装。对于MonoDevelop的2.8.1 [英] Error: Framework '.NETFramework 4.0 Client Profile' not installed. for MonoDevelop 2.8.1

查看:193
本文介绍了错误:框架“.NETFramework 4.0客户端配置文件”未安装。对于MonoDevelop的2.8.1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到以下错误:

Error: Framework '.NETFramework 4.0 Client Profile' not installed.

当我尝试建立我的项目。

When I try to build my project.

我该如何解决这个问题?

How do I fix this?

推荐答案

的MSBuild项目可以参考任意框架型材(子集),如果配置文件安装在运行时的框架定义,这将只。单不具备所有的框架配置文件NET有,如在.NET 4.0客户端配置文件。

MSBuild projects can reference arbitrary framework profiles (subsets), which will only work if the profile is installed in the runtime's frameworks definitions. Mono doesn't have all of the framework profiles that .NET has, e.g. the .NET 4.0 Client Profile.

要解决此问题,更改该项目​​使用完整的4.0框架。

To work around this, change the project to use the full 4.0 framework.

在MonoDevelop中,这里是你如何更改设置:

In MonoDevelop, here's how you change the setting:

  1. 右键点击项目名称
  2. 选项>生成>常规>目标框架
  3. 选择安装在您的计算机上的框架。

这篇关于错误:框架“.NETFramework 4.0客户端配置文件”未安装。对于MonoDevelop的2.8.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆