Visual Studio for Mac pricing. Access developer tools, cloud services, software, support, and training—the complete package for building your next great app for any platform. Start free with the Visual Studio for Mac Community edition. Upgrade to Professional or Enterprise editions for enhanced subscription benefits for your teams. I read that Visual Studio now supports cross-platform development.I'm using CMake to compile for Windows and Ubuntu (using WSL) so far.However there doesn't seem to be any information on how to actually accomplish the cross-compilation using Visual Studio to target Mac OS X. Use the Visual Studio debugger to quickly find and fix bugs across languages. The Visual Studio for Mac debugger lets you step inside your code by setting Breakpoints, Step Over statements, Step Into and Out of functions, and inspect the current state of the code stack through powerful visualizations.
-->To start developing native, cross-platform .NET apps on macOS, install Visual Studio 2019 for Mac following the steps below.
Requirements
- A Mac with macOS High Sierra 10.13 or above.
To build Xamarin apps for iOS or macOS, you'll also need:
- A Mac that is compatible with the latest version of Xcode. See Apple's minimum requirements documentation
- The latest version of Xcode. It may be possible to use an older version of Xcode if your Mac is not compatible with the latest version.
- An Apple ID. If you don't have an Apple ID already you can create a new one at https://appleid.apple.com. It's necessary to have an Apple ID for installing and signing into Xcode.
Installation instructions
Download the installer from the Visual Studio for Mac download page.
Once the download is complete, click the VisualStudioforMacInstaller.dmg to mount the installer, then run it by double-clicking the arrow logo:
You may be presented with a warning about the application being downloaded from the Internet. Click Open.
Wait while the installer checks your system:
An alert will appear asking you to acknowledge the privacy and license terms. Follow the links to read them, then press Continue if you agree:
The list of available workloads is displayed. Select the components you wish to use:
If you do not wish to install all platforms, use the guide below to help you decide which platforms to install:
Type of App Target Selection Notes Apps Using Xamarin Xamarin.Forms Select Android and iOS platforms You will need to install Xcode iOS only Select iOS platform You will need to install Xcode Android only Select Android platform Note that you should also select the relevant dependencies Mac only Select macOS (Cocoa) platform You will need to install Xcode .NET Core applications Select .NET Core platform. ASP.NET Core Web Applications Select .NET Core platform. Azure Functions Select .NET Core platform. Cross-platform Unity Game Development No additional platforms need to be installed beyond Visual Studio for Mac. Refer to the Unity setup guide for more information on installing the Unity extension. After you have made your selections, press the Install button.
The installer will display progress as it downloads and installs Visual Studio for Mac and the selected workloads. You will be prompted to enter your password to grant the privileges necessary for installation.:
Once installed, Visual Studio for Mac will prompt you to personalize your installation by signing in and selecting the key bindings that you'd like to use:
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.
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
- Device Provisioning(To run your application on device).
Android
Xamarin.Forms
Build native cross-platform applications with Xamarin.Forms:
.NET Core apps, ASP.NET Core web apps, Unity game development
For other Workloads, refer to the Workloads page.
Related Video
See also
Repository | Issues | Documentation | Code Samples | Offline Installers
The C/C++ extension adds language support for C/C++ to Visual Studio Code, including features such as IntelliSense and debugging.
Overview and tutorials
C/C++ extension tutorials per compiler and platform
Quick links
Questions and feedback
FAQs
Check out the FAQs before filing a question.
Visual Studio C++ Mac 2019
Provide feedback
File questions, issues, or feature requests for the extension.
Known issues
If someone has already filed an issue that encompasses your feedback, please leave a 👍 or 👎 reaction on the issue to upvote or downvote it to help us prioritize the issue.
Quick survey
Let us know what you think of the extension by taking the quick survey.
Offline installation
The extension has platform-specific binary dependencies, therefore installation via the Marketplace requires an Internet connection in order to download additional dependencies. If you are working on a computer that does not have access to the Internet or is behind a strict firewall, you may need to use our platform-specific packages and install them by running VS Code's 'Install from VSIX...'
command. These 'offline' packages are available at: https://github.com/Microsoft/vscode-cpptools/releases.
Package | Platform |
---|---|
cpptools-linux.vsix | Linux 64-bit |
cpptools-linux-armhf.vsix | Linux ARM 32-bit |
cpptools-linux-aarch64.vsix | Linux ARM 64-bit |
cpptools-osx.vsix | macOS 64-bit |
cpptools-osx-arm64.vsix | macOS ARM64 |
cpptools-win32.vsix | Windows 64-bit & 32-bit |
cpptools-win-arm64.vsix | Windows ARM64 |
cpptools-linux32.vsix | Linux 32-bit (available up to version 0.27.0) |
Contribution
Contributions are always welcome. Please see our contributing guide for more details.
Microsoft Open Source Code of Conduct
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
Data and telemetry
Visual Studio C++ Macro Expansion
This extension collects usage data and sends it to Microsoft to help improve our products and services. Collection of telemetry is controlled via the same setting provided by Visual Studio Code: 'telemetry.enableTelemetry'
. Read our privacy statement to learn more.