Error: Framework '.NETFramework 4.0 Client Profile' not installed. for MonoDevelop 2.8.1

天涯浪子 提交于 2020-01-01 07:37:07

问题


I get the following error:

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

When I try to build my project.

How do I fix this?


回答1:


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.

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

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

  1. Click on project name
  2. Right click on each Assembly (for e.g. "Assembly-CSharp")
  3. Options > Build > General > Target Framework
  4. Select a framework that is installed on your computer.
  5. Do this for all assemblies used in the project (usually it's 3 ).


来源:https://stackoverflow.com/questions/8181081/error-framework-netframework-4-0-client-profile-not-installed-for-monodevel

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!