I recently downloaded Mono 2 for my new MacBook. I'm trying to figure out how to compile Visual Studio solutions with xbuild, which is included in Mono. Any ideas?
Active9 years, 11 months ago
.NET on Mac for the OS X n00b without Mono via Visual Studio Code Those who know me could have placed large sums of money on me being the last person in the world to get a Mac. I love C#, Visual Studio, even Windows 8, and in general most things that Microsoft puts out.
On Windows, you can use.NET or Mono, Visual Studio, or SharpDevelop, or MonoDevelop IDE. On Mac, you can use MonoDevelop. In all cases you can use the same assemblies for.NET, Mono for Windows, or Mono for Mac, without recompilation. Installing on Mac. With this release, we’re introducing a new way to access the Xcode 10 preview support in Visual Studio for Mac. From now on, you’ll be able to access all the necessary bits for Xcode 10 within the IDE, through an updater channel named “Xcode 10 Preview”.
Kent Fredric
51.1k1414 gold badges9898 silver badges147147 bronze badges
![]()
1,24344 gold badges2020 silver badges2323 bronze badges
2 Answers
Update: xbuild supports solution files now. see xbuild
radicalradical
3,91611 gold badge2020 silver badges2626 bronze badges
The last time I checked, solutions weren't supported by xbuild (they use a different file format), but *.*proj files are.
If you have a relatively simple solution, you may be able to get away with using xbuild on each project separately, but if your solution is very complex (with interdependencies between projects, etc.), you'll probably have to do a bit of hacking to make everything work.
Furthermore, it's worth noting the C++ projects in Visual Studio don't use msbuild, either (although Visual Studio 2010 is supposed to fix this), so if you need to compile any C++, you're totally on your own (of course, Mono doesn't have a C++/CLI compiler, so you wouldn't get very far with xbuild, anyway).
This question/answer suggests that you may wish to use mdtool, instead.
Community♦
David Mitchell
X CodeDavid Mitchell
2,26711 gold badge1313 silver badges2323 bronze badges
Not the answer you're looking for? Browse other questions tagged visual-studio-2008visual-studio-2005monobuildxbuild or ask your own question.-->
To start developing native, cross-platform .NET apps on macOS, install Visual Studio 2019 for Mac following the steps below.
Requirements
To build Xamarin apps for iOS or macOS, you'll also need:
Installation instructions
If you have network trouble while installing in a corporate environment, review the installing behind a firewall or proxy instructions.
Learn more about the changes in the release notes.
Visual Studio For Mac Monodevelop![]()
Note
If you chose not to install a platform or tool during the original installation (by unselecting it in step #6), you must run the installer again if you wish to add the components later.
Install Visual Studio for Mac behind a firewall or proxy server
To install Visual Studio for Mac behind a firewall, certain endpoints must be made accessible in order to allow downloads of the required tools and updates for your software.
Configure your network to allow access to the following locations:
Next steps
Installing Visual Studio for Mac allows you to start writing code for your apps. The following guides are provided to guide you through the next steps of writing and deploying your projects.
iOS
Android.NET Core apps, ASP.NET Core web apps, Unity game development
For other Workloads, refer to the Workloads page.
Related VideoSee alsoComments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2020
Categories |