Does monodevelop 2.1+ support visual studio 2010 p

2019-04-24 18:08发布

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.

2条回答
Rolldiameter
2楼-- · 2019-04-24 18:46

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.

查看更多
Emotional °昔
3楼-- · 2019-04-24 18:55

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.

查看更多
登录 后发表回答