Visual studio project to MonoDevelop

user1088695 picture user1088695 · Dec 28, 2011 · Viewed 17.8k times · Source

Is there a way to transfer a Visual Studio project to the MonoDevelop environment? at FAQ - MonoDevelop it is said that:

MonoDevelop can open, manipulate and save MSBuild-based projects directly in mopst cases. In fact, since MonoDevelop 2.0 the default project format has been VS2008-style MSBuild projects, but VS2005 and VS1010 formats are also handled.

But when I try to open my (ASP.NET Web Application) .vbproj in MonoDevelop, I get:

Load operation failed. Project does not support framework '.NETFramework,Version=v4.0'.

Should I alter project settings, allowing different .NETFramework version or do I have to use some 3rd party softwares to translate my projects config files?

EDIT:(Resolved) If your project is not that big yet, create a new project in your Microsoft Visual Studio(MVS) with .NET Framework 3.5 and then it will be possible to open it with MonoDevelop, else edit your projects Debug/Release config files and delete everything that has "4.0" information about this project, plus .vbproj file in are previous doesn't work and do the same, search for 4.0 information. (Applicable for framework 4.0)

OR

Change your project settings as it is described here: http://msdn.microsoft.com/en-us/library/bb398202.aspx

Answer

hypermush picture hypermush · Dec 28, 2011

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.