Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does monodevelop 2.1+ support visual studio 2010 project files?

Does monodevelop 2.1+ support visual studio 2010 project files ... yet ... and if not does any one know when support is planned ?

The reason I ask is that I have a solution that I use in both VS2008 and Monodevelop. When I open it in 2010 Beta I get the upgrade this solution wizard and I don't want to break my solution in Monodevelop by upgrading prematurely.

like image 992
Bruce McLeod Avatar asked Jul 20 '09 05:07

Bruce McLeod


2 Answers

Yes, it does. I just tested opening a VS2010 file in MD 2.1 and it opens just fine. Also, in the preferences is the option to save as VS2010 file format.

like image 174
jpobst Avatar answered Nov 02 '22 15:11

jpobst


The real answer is yes and no. MonoDevelop has two different technologies under the hood for reading VS project files. By default, it just looks for certain tags and uses them. This works for project files that are purely generated by Visual Studio.

Visual Studio projects are actually MSBuild files. MSBuild is Microsoft's build engine and has a rich set of capabilities. If you were to customize these files in a way that MonoDevelop does not support in its default settings, you'd run into difficulties. These include creating new types of targets, setting properties in project files, conditional expressions in project files, and so on.

MonoDevelop also has its own version of the MSBuild engine called XBuild, but this is not enabled by default. There is a Preferences setting that allows this to be enabled, but it has been labeled "experimental" for a couple of years now and does not support building MonoTouch and MonoMac projects. This is irksome, since a good build engine is at the core of any complex project.

As it stands, therefore, neither option supports VS project files to the extent that reasonably complex apps require.

like image 38
bright Avatar answered Nov 02 '22 14:11

bright