-->
Developer Community |System Requirements |Compatibility |Distributable Code |Documentation |Blogs |Servicing
Get the Preview
Important
Get the Preview of Visual Studio 2019 for Mac by updating to the Preview channel.
This release is not 'go-live' and not intended for use on production computers or for creating production code.
To learn more about Visual Studio for Mac, see Mac System Requirementsand Mac Platform Targeting and Compatibility.
To learn more about other related downloads, see the Downloads page.
Macos 10.14 macos 10.15 macos 10.13 xamarin editor debugger project solution xaml fixed in: visual studio 2019 for mac version 8.0 android crash performance ios visual studio ide fixed in: visual studio 2019 for mac version 8.1 Setup fixed in: visual studio 2019 for mac version 8.3 fixed in: visual studio 2019 for mac version 8.2 fixed in. There is no equivalent to Visual Studio. However, for writing C# on Mac or Linux, you can't get better than MonoDevelop. The Mac build is pre beta. From the MonoDevelop site on Mac: The Mac OS X port of MonoDevelop is under active development and has not seen a stable release yet. Visual Studio delivers a versatile work space where you can start developing code, build, and test apps for various platforms without having to rely on multiple tools. The Visual Studio IDE can be used to work on projects for Mac, iOS, Android, and other wearables, or for apps running is the cloud. Downloads; Support. Visual Studio IDE; Visual Studio Code; Azure DevOps; Team Foundation Server; Accounts and Subscriptions; Subscriber Access; More. Visual Studio for Mac.NET. Azure DevOps Server (TFS) Problems (110929) Features. Visual Studio 2019 for Mac. Develop apps and games for iOS, Android and using.NET. Download Visual Studio for Mac. Create and deploy scalable, performant apps using.NET and C# on the Mac.
What's New in 8.8 Preview
Visual Studio 2019 for Mac version 8.8 Preview Releases
- September 14, 2020 – Visual Studio 2019 for Mac version 8.8 Preview 3
- August 25, 2020 – Visual Studio 2019 for Mac version 8.8 Preview 2
- August 5, 2020 – Visual Studio 2019 for Mac version 8.8 Preview 1
Release Highlights
- Visual Studio for Mac 8.8 Preview 2 adds support for debugging Blazor WebAssembly projects.
- Visual Studio for Mac 8.8 Preview 2 adds support for accessing Azure DevOps NuGet package sources using the signed in account without the need to use a personal access token (PAT).
- Visual Studio for Mac 8.8 Preview 1 or newer now support running on the macOS Big Sur developer preview. See Known Issues for additional information.
- We added functionality to Visual Studio for Mac to warn users when low disk space will degrade the experience.
Known Issues
Visual Studio Code For Mac
Refer to the Known Issues section.
Feedback & Suggestions
We would love to hear from you! You can report a problem through the Report a Problem option in Visual Studio for Mac IDE.You can track your feedback, including suggestions, in the Developer Community portal.
Release Notes
Visual Studio 2019 for Mac version 8.8 Preview 3 (8.8.0.2120)
released September 14, 2020
Shell and Tools
- We have ported the Assembly Browser to the new Editor.
- We have reimplemented the Errors pad and moved the build output to a separate pad.
- We have improved overall performance and reliability.
Source Code Editing
- We have fixed an issue where an Enum could not be used as a nullable type in generic interfaces.
Version Control
- We fixed an issue where stashing errors were not handeled properly.
- we fixed an issue with broken selection buttons in the 'Review and Commit' view.
Web and Azure
- We fixed an issue with breakpoints not hitting when debugging a Blazor WebAssembly Application.
Xamarin
- We fixed an issue where Xamarin Forms Hot Reload caused the iOS Simulator to come to foreground.
- We fixed an issue with the iOS Simulator Window stealing focus multiple times.
- We fixed an issue with Vector Images not appearing in Assets.xcassets.
Visual Studio 2019 for Mac version 8.8 Preview 2 (8.8.0.1532)
released August 25, 2020
New Features
Debug Blazor WebAssembly projects
Visual Studio for Mac now includes full support for debugging Blazor WebAssembly projects, giving you the option to set breakpoints, watches, navigate your code using step and skip commands, and more.
For more information on debugging in Visual Studio for Mac, see Debugging with Visual Studio for Mac.
Web and Azure
- We added support for .NET 5 preview 8.
- We added integrated support for accessing NuGet Azure DevOps package sources using the signed in account without requiring a personal access token (PAT).
Bug Fixes
Debugger
- We fixed an issue where the debugger would prefer an imported class over a local variable with the same name.
Project System
- We fixed an issue that prevented users from canceling a solution load operation.
Shell and Tools
- We improved the performance of the Assembly Viewer.
Editor
- We fixed a problem where new F# projects would not restore and build due to the FSharp.Core NuGet package being unavailable.
Web and Azure
- We fixed an issue with solution file generation that caused a compatibility problem with Visual Studio on Windows.
- We fixed an issue where .razor files would incorrectly show a “Using directive is unnecessary' error.
- We fixed an issue where IntelliSense for classes from a new Razor class library project were not available in .razor files.
- We fixed an issue preventing Azure subscriptions being found when publishing to Azure Publish to Azure.
- We fixed an issue where Azure subscriptions were not found.
- We fixed a crash in the Razor editor.
Xamarin
- We updated the Android SDK Tools path to support the new 'cmdline-tools' path.
- Hot reload updated the minimum required Xamarin.Forms version to 4.6.0.923 when using incremental.
Other
- We improved startup performance of the IDE.
- We improved the performance of closing a solution.
- We fixed an issue where vstool would not return the exact id of an extension which can then be used for disabling/enabling the extension.
Visual Studio 2019 for Mac version 8.8 Preview 1 (8.8.0.493)
released August 5, 2020
Note
This release of Visual Studio for Mac now supports running on the macOS Big Sur developer beta builds. If you're already on Big Sur and can't use the updater, visit the Visual Studio for Mac website and download the installer.
Editor
- The F# editor and language service have been updated to use the same backend as Visual Studio (Windows). This fixes a number of issues previously reported on Developer Community including:
- F# multiply operator as a function wrongly affects color of code after.
- F# 4.7 language features don't work.
- Undo doesn't work.
- Three double quotation marks are placed instead of two.
- F# 4.7 isn't supported.
- Editor fails on matching quote insertion.
- We fixed an issue causing the default key binding for 'Navigate To...' to no longer work with the French keyboard.
Project System
- We fixed an issue that resulted in an empty properties pad for files when loading AddIn projects.
Shell and Tools
- We increased the speed of the find in files functionality.
- We fixed an issue causing erroneous exceptions to be logged when deleting unsaved files from a project.
- We fixed an issue resulting in multiple searches and unresponsiveness in the search experience.
- We fixed an issue where Visual Studio is unable to find files/classes included into a multi-target SDK style project.
- We fixed an issue where the directory path for find in files was not set correctly.
- We fixed an issue that prevented users drom opening assemblies in the Assembly Browser.
- We fixed an issue that caused files to open in Visual Studio Code instead of in the hex editor when choosing to open in the hex editor.
Source Control
- We fixed an issue where there was odd behavior when copying files under source control.
- We fixed an issue that could cause hangs when using Git version control.
- We fixed an issue causing version control commits to fail if Git reported
fatal: LF would be replaced by CRLF
. - We fixed an issue that disabled view history when a file that's not tracked or a project is selected in the solution pad.
- We fixed an issue where Git integration on Visual Studio for Mac is not working.
- We fixed an issue where deleting a file from project rolls back messing up the Source control.
- We fixed an issue where openinig a project or switching branches on console does not always update the current branch in the project browser.
- We fixed an issue that could result in a
doesn't point at a valid Git repository or workdir.
error message when working with Git.
Web and Azure
- We fixed an issue where a new F# test project will display errors and warnings.
Xamarin
- We fixed an issue that erroneously changed the simulator to iPad Pro for the designer if Xcode was used to open and add layouts to the Storyboard file.
- We fixed an issue where users were unable to load Storyboards in Visual Studio for Mac.
- We fixed an issue that resulted in Storyboard errors.
- We fixed an issue where adding an Apple account for Xamarin.iOS is broken.
- We fixed an issue resulting in failure to add an Apple developer account with two step authentication.
- We fixed an issue preventing pairing with Visual Studio.
- We fixed an issue where the Storyboard editor would not start.
Known Issues
The following is a list of all existing known issues in Visual Studio 2019 for Mac version 8.8:
- Loading Blazor WebAssembly projects with .NET 5.0 RC1 is not yet supported.
- In rare cases, it's possible to be up to date with everything but the .NET Core 3.1.300 SDK. If you enter into this configuration and update to .NET Core 3.1.300 using the updater, the notification to update the .NET Core SDK will not disappear until the IDE is restarted.
- Xamarin developers on macOS Big Sur will not be able to compile and run their projects at this time. This will be supported in an upcoming release.
Support for Java in Visual Studio Code is provided through a wide range of extensions. Combined with the power of core VS Code, these extensions give you a lightweight and performant code editor that also supports many of the most common Java development techniques.
This article will give you an overview of different capabilities of Visual Studio Code for Java developers. For a quick walkthrough of editing, running, and debugging a Java program with Visual Studio Code, use the button below.
Overview
VS Code provides essential language features such as code completion, refactoring, linting, formatting, and code snippets along with convenient debugging and unit test support. VS Code also integrates with tooling and frameworks such as Maven, Tomcat, Jetty, and Spring Boot. Leveraging the power of Visual Studio Code, Java developers get an excellent tool for both quick code editing and also the full debugging and testing cycle. It's a great choice for your Java work if you're looking for a tool which:
- Is fast, lightweight, free, and open source.
- Supports many other languages, not just Java.
- Helps start your Java journey without installing and learning a complex IDE.
- Provides great microservices support including popular frameworks, container tooling, and cloud integration.
- Offers team-based collaboration features such as Visual Studio Live Share.
- Improves your productivity through IntelliSense and other code-aware editing features.
Install Visual Studio Code for Java
VS Code is a fast editor and ships with great editing features. Before you begin, you must have the Java SE Development Kit (JDK) on your local environment. To run VS Code for Java, Java SE 11 or above version is required; for projects, VS Code for Java supports projects with version 1.5 or above. For more details, refer to Configure JDK.
To help you set up quickly, you can install the Coding Pack for Java, which includes VS Code, the Java Development Kit (JDK), and essential Java extensions. The Coding Pack can be used as a clean installation, or to update or repair an existing development environment.
Install the Coding Pack for Java - macOS
Note: The Coding Pack for Java is only available for Windows and macOS. For other operating systems, you will need to manually install a JDK, VS Code, and Java extensions.
Alternatively, you can also add Java language support to VS Code by installing the popular Java extensions by yourself.
Download VS Code - If you haven't downloaded VS Code yet, quickly install for your platform (Windows, macOS, Linux).
To help set up Java on VS Code, there is a Java Extension Pack, which contains the most popular extensions for most Java developers:
There are also other popular Java extensions you can pick for your own needs, including:
Thanks to the great Java community around VS Code, the list doesn't end there. You can search for more Java extensions easily within VS Code:
- Go to the Extensions view (⇧⌘X (Windows, Linux Ctrl+Shift+X)).
- Filter the extensions list by typing 'java'.
This document describes some of the key features included in those Java extensions.
Getting started
NOTE: If you are using VS Code on Windows and want to take advantage of the Windows Subsystem for Linux, see Developing in WSL.
For developers new to Java or new to VS Code, we provide a Getting Started experience. Once you've installed the Java Extension Pack, you can open the Getting Started experience from within VS Code with the Java: Getting Started command from the Command Palette. Open the Command Palette (⇧⌘P (Windows, Linux Ctrl+Shift+P)) and type 'Java: Getting Started'.
Working with Java source files
You can use VS Code to read, write, run, and debug Java source file(s) without creating a project. VS Code for Java supports two modes, lightweight and standard. Lightweight mode is ideal for scenarios that only deal with source file(s). If you want to work with a full scale project, standard mode will be required. You can easily switch from lightweight mode to standard mode, when needed. To learn more, see Lightweight Mode.
Working with Java project
There are three things you must understand to work with Java in VS Code:
- How does VS Code handle Workspaces?
- How does VS Code handle Java?
- How does VS Code handle Workspaces that contain Java?
VS Code Workspaces
In Visual Studio Code, a 'Workspace' means a collection of one or more filesystem folders (and their children) and all of the VS Code configurations that take effect when that 'Workspace' is open in VS Code. There are two kinds of 'Workspaces' in VS Code, 'folder workspaces' and 'multi-root workspaces'.
A 'folder workspace' is presented by VS Code when you open a filesystem folder (directory) in VS Code.
A 'multi-root workspace' can refer to multiple folders (directories) from disparate parts of the file system and VS Code displays the contents of the folder(s) of the workspace together in the File Explorer. To learn more, see Multi-root Workspaces.
Java project in VS Code
In contrast to IDEs such as IntelliJ IDEA, NetBeans, or Eclipse, the concept of a 'Java project' is provided entirely by extensions, and is not a core concept in the base VS Code. When working with 'Java projects' in VS Code, you must have the necessary extensions installed to work with those project files.
For example, Maven, Eclipse, and Gradle Java projects are supported through Language Support for Java(TM) by Red Hat, by utilizing M2Eclipse, which provides Maven support, and Buildship, which provides Gradle support through the Eclipse JDT Language Server.
With Maven for Java, you can generate projects from Maven Archetypes, browse through all the Maven projects within your workspace, and execute Maven goals easily from an embedded explorer. Projects can also be created and managed with the Project Manager for Java extension.
Visual Studio Code also supports working with standalone Java files outside of a Java project, described in the Java Tutorial with VS Code.
VS Code Workspaces that contain Java project
Assuming the necessary Java extensions are installed, opening a VS Code workspace that contains Java artifacts will cause those extensions to understand those artifacts and present options for working with them.
More details about Java project support can be found in Java Project Management in Visual Studio Code and Build Tools.
Editing
Code Navigation
Java in Visual Studio Code also supports source code navigation features such as search for symbol, Peek Definition, and Go to Definition. The Spring Boot Tools extension provides enhanced navigation and code completion support for Spring Boot projects.
One of the key advantages of VS Code is speed. When you open your Java source file or folder, within a few seconds, with the help of Lightweight Mode, you will be able to navigate your code base with Outline view as well as commands such as Go to Definition and Go to Reference. This is especially useful when you open a project for the first time.
Code Completion
IntelliSense is a general term for language features, including intelligent code completion (in-context method and variable suggestions) across all your files and for built-in and third-party modules. VS Code supports code completion and IntelliSense for Java through Language Support for Java(TM) by Red Hat. It also provides AI-assisted IntelliSense called IntelliCode by putting what you're most likely to use at the top of your completion list.
See also in Java Code Navigation and Editing. VS Code also supports a range of Refactoring and Linting features.
Debugging
Debugger for Java is a lightweight Java Debugger based on Java Debug Server. It works with Language Support for Java by Red Hat to allow users to debug Java code within Visual Studio Code.
Visual Studio For Mac Installer
Starting a debugging session is easy, click on the Run|Debug button available at the CodeLens of your main()
function, or press F5. The debugger will automatically generate the proper configuration for you.
Although it's lightweight, the Java debugger supports advanced features such as expression evaluation, conditional breakpoints, and hot code replacement. For more debugging related information, visit Java Debugging.
Testing
With the support from the Java Test Runner extension, you can easily run, debug, and manage your JUnit and TestNG test cases.
For more about testing, read Testing Java.
Spring Boot, Tomcat, and Jetty
To further improve your Java productivity in VS Code, there are extensions for most popular frameworks and tools such as Spring Boot, Tomcat, and Jetty created by the community.
The Tomcat extension includes an explorer to easily navigate and manage your Tomcat servers. You can create, start, debug, stop, and rename your Tomcat server with the extension.
See Application Servers to learn more about support for Tomcat and Jetty as well as other application servers with VS Code.
Spring Boot support is provided by Pivotal. There are also Spring Initializr Java Support and Spring Boot Dashboard extensions available from Microsoft to further improve your experience with Spring Boot in Visual Studio Code.
See Spring Boot with VS Code to learn more about Spring Boot support with VS Code.
Next steps
You may Sign up to follow the latest of Java on Visual Studio Code.
Learn more about Java in VS Code
Read on to find out more about Visual Studio Code:
- Basic Editing - Learn about the powerful VS Code editor.
- Code Navigation - Move quickly through your source code.
- Tasks - use tasks to build your project and more
- Debugging - find out how to use the debugger with your project