Visual studio project to MonoDevelop

可紊 提交于 2019-12-01 02:49:59

What version of MonoDevelop are you using? MonoDevelop 2.8 can open .NET 4.0 projects (I believe 2.6 can as well). In fact, in 2.8 .NET 4.0 is the default for all new projects.

MonoDevelop's VB.NET addin still doesn't support .NET 4.0. It would work for C# projects.

Using a text editor, change your *.vbproj file to add the following line:

    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>

to the first PropertyGroup, e.g.

<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    ...
    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
  </PropertyGroup>

.net framework 4.0 not yet completly implemented in mono but includes most of the features try to download latest version of mono and retry:)

I had the same problem in version 3.0 of MonoDevelop. VBNET development have changed the runtime. NET Tools> Options> Runtimes. NET I have marked as default MONO 2.x

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