How can I create a visual studio solution using xbuild (from Mono)?

I recently downloaded Mono 2 for my new MacBook. I am trying to figure out how to compile Visual Studio solutions using xbuild, which is included in Mono. Any ideas?

+5
source share
2 answers

Update: xbuild now supports solution files. see xbuild

+11
source

The last time I checked, the solutions were not supported by xbuild (they use a different file format), but the files *. * proj.

If you have a relatively simple solution, you can go away with xbuild for each project separately, but if your solution is very complicated (with interdependence between projects, etc.), you probably have to do a little hack to make everything work.

In addition, it is worth noting that C ++ projects in Visual Studio do not use msbuild, although (although Visual Studio 2010 should fix this), therefore, if you need to compile any C ++, you are completely autonomous (of course, Mono does not C ++ / CLI compiler, so you wouldn’t go too far in xbuild).

This question / answer suggests that you can use mdtool instead.

+5
source

Source: https://habr.com/ru/post/902051/


All Articles