Visual Studio For Mac Installation Failed

Last month, Microsoft announced the release of Visual Studio for Mac: a full-featured development environment to help developers on the Mac create apps, games, and services for mobile, cloud,.

A fully-featured, extensible, free IDE for creating modern applications for Android, iOS, Windows, as well as web applications and cloud services.

A full-featured and free IDE for creating modern applications for Android, iOS, macOS, as well as web applications and cloud services.

Flexibility

Productivity

For

Designers, editors, debuggers, profilers, in one single tool

Ecosystem

Languages

Code in C#, Visual Basic, F#, C++, HTML, JavaScript, TypeScript, Python, and more

Flexibility

Productivity

Designers, editors, debuggers, profilers, in one single tool

Languages

Craft your ideal development environment

A brand-new workload-based installer optimizes your installation to make sure you have everything you need and nothing you don’t.

Craft your ideal development environment

A brand-new workload-based installer optimizes your installation to make sure you have everything you need and nothing you don’t.

Visual Studio For Mac Execution Failed

Write code, navigate, and fix issues

Write code, navigate, and fix issues
Code with confidence in your language, find and fix code issues quickly, and refactor with ease.

Write code, navigate, and fix issues

Code with confidence in your language, find and fix code issues quickly, and refactor with ease.

Debug, profile, and diagnose

Debug to quickly find and fix bugs. Find and diagnose performance issues with the profiling tools.

Debug, profile, and diagnose

Debug to quickly find and fix bugs. Find and diagnose performance issues with the profiling tools.

Universal Windows Platform, iOS, and Android

Tools for Apache Cordova, Xamarin, and Unity available for download to enable code, debug, test, share, and reuse for more platforms.

macOS, iOS, and Android

Tools for Xamarin and Unity are available to enable code, debug, test, share, and reuse for more platforms.

Create and deploy modern web applications

Develop for the web with ASP.NET, Node.js, Python, and JavaScript. Use with powerful web frameworks such as AngularJS, jQuery, Bootstrap, Django, and Backbone.js.

Create and deploy modern web applications

Develop for the web with ASP.NET Core and JavaScript. Use with powerful web frameworks such as AngularJS, jQuery, Bootstrap, Django, and Backbone.js.

Host code anywhere

Manage your source code in Git repos hosted by any provider, including GitHub. Or use Azure DevOps to manage code alongside bugs and work items for your whole project.

Host code anywhere

Visual Studio For Mac Os

Manage your source code in Git repos hosted by any provider, including GitHub and Azure DevOps.

Access to free tools and resources

When you sign into Visual Studio Community, you get access to a broad set of free developer tools, selected Xamarin University courses on-demand, Pluralsight training, Azure credits, and more as part of Visual Studio Dev Essentials.

Access to free tools and resources

Get access to a broad set of free developer tools, selected Xamarin University courses on-demand, Pluralsight training, Azure credits, and more as part of Visual Studio Dev Essentials.

Any individual developer can use Visual Studio Community to create their own free or paid apps.

An unlimited number of users within an organization can use Visual Studio Community for the following scenarios: in a classroom learning environment, for academic research, or for contributing to open source projects.

For all other usage scenarios:
In non-enterprise organizations, up to five users can use Visual Studio Community. In enterprise organizations (meaning those with >250 PCs or >$1 Million US Dollars in annual revenue), no use is permitted beyond the open source, academic research, and classroom learning environment scenarios described above.

For more information, see the Visual Studio Community license terms.

Any individual developer can use Visual Studio Community for Mac to create their own free or paid apps.

An unlimited number of users within an organization can use Visual Studio Community for Mac for the following scenarios: in a classroom learning environment, for academic research, or for contributing to open source projects.

For all other usage scenarios:
In non-enterprise organizations, up to five users can use Visual Studio Community for Mac. In enterprise organizations (meaning those with >250 PCs or >$1 Million US Dollars in annual revenue), no use is permitted beyond the open source, academic research, and classroom learning environment scenarios described above.

For more information, see the Visual Studio Community for Mac license terms.

Free, fully-featured IDE for students, open-source and individual developers

Professional developer tools, services, and subscription benefits for small teams

End-to-end solution to meet demanding quality and scale needs of teams of all sizes

Free, fully-featured IDE for students, open-source and individual developers

Professional developer tools, services, and subscription benefits for small teams

End-to-end solution to meet demanding quality and scale needs of teams of all sizes

Installation

  1. Download Visual Studio Code for macOS.
  2. Double-click on the downloaded archive to expand the contents.
  3. Drag Visual Studio Code.app to the Applications folder, making it available in the Launchpad.
  4. Add VS Code to your Dock by right-clicking on the icon to bring up the context menu and choosing Options, Keep in Dock.

Launching from the command line

You can also run VS Code from the terminal by typing 'code' after adding it to the path:

  • Launch VS Code.
  • Open the Command Palette (⇧⌘P (Windows, Linux Ctrl+Shift+P)) and type 'shell command' to find the Shell Command: Install 'code' command in PATH command.
  • Restart the terminal for the new $PATH value to take effect. You'll be able to type 'code .' in any folder to start editing files in that folder.

Note: If you still have the old code alias in your .bash_profile (or equivalent) from an early VS Code version, remove it and replace it by executing the Shell Command: Install 'code' command in PATH command.

To manually add VS Code to your path, you can run the following commands:

Start a new terminal to pick up your .bash_profile changes.

Note: The leading slash is required to prevent $PATH from expanding during the concatenation. Remove the leading slash if you want to run the export command directly in a terminal.

Touch Bar support

Out of the box VS Code adds actions to navigate in editor history as well as the full Debug tool bar to control the debugger on your Touch Bar:

Mojave privacy protections

After upgrading to macOS Mojave version, you may see dialogs saying 'Visual Studio Code would like to access your {calendar/contacts/photos}.' This is due to the new privacy protections in Mojave and is not specific to VS Code. The same dialogs may be displayed when running other applications as well. The dialog is shown once for each type of personal data and it is fine to choose Don't Allow since VS Code does not need access to those folders. You can read a more detailed explanation in this blog post.

Updates

VS Code ships monthly releases and supports auto-update when a new release is available. If you're prompted by VS Code, accept the newest update and it will get installed (you won't need to do anything else to get the latest bits).

Note: You can disable auto-update if you prefer to update VS Code on your own schedule.

Preferences menu

You can configure VS Code through settings, color themes, and custom keybindings and you will often see mention of the File > Preferences menu group. On a macOS, the Preferences menu group is under Code, not File.

Next steps

Once you have installed VS Code, these topics will help you learn more about VS Code:

  • Additional Components - Learn how to install Git, Node.js, TypeScript, and tools like Yeoman.
  • User Interface - A quick orientation around VS Code.
  • User/Workspace Settings - Learn how to configure VS Code to your preferences settings.

Common questions

Why do I see 'Visual Studio Code would like access to your calendar.'

Microsoft Visual Studio For Mac

If you are running macOS Mojave version, you may see dialogs saying 'Visual Studio Code would like to access your {calendar/contacts/photos}.' This is due to the new privacy protections in Mojave discussed above. It is fine to choose Don't Allow since VS Code does not need access to those folders.