Visual Studio Icon Visual Studio 2019 Preview Release Notes


| Developer Community | System Requirements | Compatibility | Distributable Code | License Terms | Blogs | Known Issues |


Important

This release is not "go-live" and not intended for use on production computers or for creating production code. For instructions on installing and updating Visual Studio 2019, see this documentation on updating Visual Studio 2019 to the most recent release.


What's New in Visual Studio 2019

Visual Studio 2019 Preview Releases

Visual Studio 2019 Blog

The Visual Studio 2019 Blog is the official source of product insight from the Visual Studio Engineering Team. You can find in-depth information about the Visual Studio 2019 releases in the following posts:


Release Notes Icon Visual Studio 2019 version 16.1 Preview 2 New release icon

released April 23, 2019

Summary of What's New in Visual Studio 2019 version 16.1 Preview 2

  • Visual Studio IntelliCode is installed by default with any workload that includes C#, XAML, or C++. C# and XAML IntelliCode support are enabled by default. Support for C++ and JavaScript/TypeScript can be enabled via Tools > Options > IntelliCode
  • Source Link authentication improvements.
  • Time Travel Debugging preview now includes exception stepping support.
  • Updated behavior for switching between solutions, folders, and other views.
  • Optimizations to improve the solution load time of very large solutions.
  • Visual Studio SDK v16.0 released to NuGet.
  • VSIX Project template use the new SDK version.
  • Template authors can add custom tags to their templates.
  • CodeLens support for custom UI.
  • Updates to Language Server Protocol implementation.
  • Most Recently Used added to Visual Studio Search.
  • New .NET productivity features include one-click code cleanup on projects and solutions, a new toggle block comment keyboard shortcut, refactoring to move types to other namespaces, and more!
  • Default Android Experience for Xamarin now supports API 28.
  • Xamarin.Forms XAML recommendations for design time attributes.

Top Issues Fixed in Visual Studio 2019 version 16.1 Preview 2

Details of What's New in Visual Studio 2019 version 16.1 Preview 2

Acquisition

  • Improved the Visual Studio Installer download performance by increasing the number of simultaneous downloads. By downloading more payload files at once, most users should experience significantly reduced download times for both install and update operations.

IDE

  • Visual Studio IntelliCode is installed by default when you install a workload that supports C#, XAML, or C++.
    • C# and XAML base models will be on by default.
    • Preview features, such as custom model training and argument completion, can be enabled via Tools > Options > IntelliCode.

Debugger

  • Source Link can now use Windows Authentication to support on-premises TFS Source Control.

Project

  • The button for switching the Solution Explorer view will now consistently show you a dropdown menu of all possible views.
Solution switching
Solution view switching
  • Improved the loading time for very large solutions. The improvement varies based on the size of the solutions.

  • Removed the Convert dialog under File > Convert. This feature was previously deprecated in Visual Studio 2015.

  • Updated the validation rules for the task.vs.json and launch.vs.json schemas, and added descriptions for the properties.

  • Added support for Linux remote debugging using a custom program via launch.vs.json.

Extensibility

  • You can now use the latest version of the Microsoft.VisualStudio.SDK to target Visual Studio 2019 in your extensions. Remember to only use this version of the SDK if the lowest supported version of Visual Studio is 16.0.
  • Creating new VSIX projects will now contain the 16.0 version of the the Microsoft.VisualStudio.SDK NuGet package.
  • You can now add tags to your project templates to enable categorization and filtering in the Visual Studio 2019 New Project Dialog. You can choose from the built-in tags or your own custom language, platform, and project type tags.
Template tagging
Template tagging
  • CodeLens extensions can now display arbitrary UI content in their CodeLens details popup.

  • Updated Language Server Protocol with:

    • Support for projected buffers to enable LSP for inline diff, and Razor files in LiveShare.
    • Support for unnecessary diagnostics.
    • Support for textDocument/typeDefinition.
    • Support for textDocument/foldingRange (outlining).

Editor

  • Visual Studio Search will now display on focus the three most recently used actions invoked through Visual Studio Search, as shown in this sample mockup. (Note: icons and specific line items have not been fully updated in this mock-up.)
Visual Studio Search
Mock-up of Visual Studio Search

.NET Productivity

  • You can now use one-click code cleanup for projects and solutions. You can right-click on projects or the solution in the Solution Explorer and select ‘Run Code Cleanup’.
Right-click to run code cleanup over the entire solution
Right-click to run code cleanup over the entire solution
You will see a dialog box while cleanup is applied to each file
You will see a dialog box while cleanup is applied to each file
  • You can now use a refactoring dialog to move type to namespace or folder. Place your cursor in the class name and type (Ctrl + .) to open the quick actions and refactorings menu and select ‘Move to namespace.’ This launches a dialog where you can select the target namespace you would like to move the type to.
Place cursor in class name and type (Ctrl+.) to view refactorings
Place cursor in class name and type (Ctrl+.) to view refactorings
Select the destination namespace
Select the destination namespace
  • Toggle Block Comment/Uncomment is now available through the keyboard shortcut (Ctrl+Shift+/) or through Edit > Advanced > Toggle Block Comment. This command will add or remove block comments depending on what you have selected.
Toggle block comment with (Ctrl+Shift+/)
Toggle block comment with (Ctrl+Shift+/)
  • There is now a codefix for making readonly struct fields writable. Place your cursor in the struct name, type (Ctrl+.) to open the quick actions and refactorings menu, and select ‘Make readonly fields writable.’
  • The codefix to add a private field from a constructor and vice versa is easier to discover and will show when any portion of the field name is selected. This refactoring now also offers all possible constructors.

C++

  • Improvements to the CMake Settings Editor, including support for Windows Subsystem for Linux (WSL) and configurations from existing caches, changes to the default build and install roots, and support for environment variables in Linux CMake configurations.
Improvements to the CMake Settings Editor
Improvements to the CMake Settings Editor
  • Improved logging for remote connections makes it easier to diagnose issues with cross-platform development.
Improved logging for remote connections
Improved logging for remote connections
  • You can now separate your remote build machine from your remote debug machine when targeting Linux (specific to MSBuild projects, coming soon for CMake).
  • The Template Bar dropdown menu is now populated based on instantiations of that template in your codebase.
New Template Bar dropdown menu
New Template Bar dropdown menu
  • C++ IntelliCode now ships in-box and can be enabled under Tools > Options > IntelliCode > General. This version of IntelliCode has improved accuracy and includes support for free-functions.
  • CMake integration now supports the Clang/LLVM toolchain for projects targeting Windows and/or Linux. You can now build, edit, and debug CMake projects that use either Clang, MSVC, or GCC.
CMake integration supports the Clang/LLVM toolchain
CMake integration supports the Clang/LLVM toolchain
  • Lightbulbs for missing #includes that can be installed by vcpkg, and autocompletion of available packages for the CMake find_package directive.
Autocompletion of available packages
Autocompletion of available packages
  • Updated the CMake version that ships with Visual Studio to 3.14. This version adds built-in support for MSBuild generators targeting Visual Studio 2019 projects as well as file-based IDE integration APIs.
  • The General Property Pages for C++ projects has been revised, splitting out some options under a new Advanced page. The Advanced page also includes additional properties for preferred toolset architecture, debug libraries, the MSVC toolset minor version, and Unity (jumbo) builds.
  • The following C++20 preview features have been added to our implementation of the C++ Standard Library, available under /std:c++latest:
    • starts_with() and ends_with() for basic_string/basic_string_view.
    • contains() for associative containers.
    • remove(), remove_if(), and unique() for list and forward_list now return size_type.
    • shift_left() and shift_right() added to <algorithm>.
  • The following C++20 preview features have been implemented in the C++ compiler, available under /std:c++latest:
    • Increased ability to find function templates via argument-dependent lookup for function call expressions with explicit template arguments (P0846R0).
    • Designated initialization (P0329R4), which allows specific members to be selected in aggregate initialization, e.g. using the Type t { .member = expr } syntax.
  • Lambda support has been overhauled, addressing a large number of long-standing bugs. This change is enabled by default when using /std:c++latest. In other /std:c++* language modes and under the default mode, the new parser can be enabled via /experimental:newLambdaProcessor, e.g. /std:c++17 /experimental:newLambdaProcessor.

Xamarin

  • Updated the default Android Experience to API 28 for templates, device creation, installers, and more.
  • IntelliSense on Windows now shows recommendations for design-time attributes when writing Xamarin.Forms XAML.

Release Notes Icon Visual Studio 2019 version 16.1 Preview 1

released April 10, 2019

Summary of What's New in Visual Studio 2019 version 16.1 Preview 1

IDE

  • Added Per-Monitor Awareness support
  • New codefixes available for C#.

Debugger

  • Added nuget.org symbol server to the list of default symbol servers

Extensibility

  • Removed the need for .resx file in VSIX projects (BuildTools update)

C++

Top Issues Fixed in Visual Studio 2019 version 16.1 Preview 1

Details of What's New in Visual Studio 2019 version 16.1 Preview 1

IDE

  • Added Per-Monitor Awareness support for WinForms based PropertyBrowser window of Visual Studio. Requires .NET Framework 4.8 RTM version installed on the machine.

.NET Productivity Updates

  • The Find All References “Kind” column now has more filter options and is aware of namespaces and types.
Find All References Kind column has more filter options
Find All References Kind column has more filter options
  • We have added a codefix for split/merge if statements.
Split or merge if statements
Split or merge if statements
  • We have added a codefix for wrapping binary expressions.
Wrap binary expressions
Wrap binary expressions
  • A regex completion list can now be accessed through the intellisense menu (Ctrl + space) when inside a regex string. These completions also include an in-line description of what the suggestion does.
Regex completion offered in Intellisense with (Ctrl + space)
Regex completion
  • We have added a codefix for unsealing a class.
Unseal a class codefix
Unseal a class

Extensibility

C++

  • Completions and quick info for built-in CMake commands, variables, and properties make it easier to edit your CMakeLists.txt files.
Tooltip info for add_subdirectory CMake command
Tooltip info for add_subdirectory CMake command

Known Issues

See all issues and available workarounds in Visual Studio 2019 version 16.1 by following the below link.

Visual Studio 2019 Known Issues


Feedback

We would love to hear from you! For issues, let us know through the Report a Problem option in the upper right-hand corner of either the installer or the Visual Studio IDE itself. The Feedback Icon icon is located in the upper right-hand corner. You can make a product suggestion or track your issues in the Visual Studio Developer Community, where you can ask questions, find answers, and propose new features. You can also get free installation help through our Live Chat support.


Blogs

Take advantage of the insights and recommendations available in the Developer Tools Blogs site to keep you up-to-date on all new releases and include deep dive posts on a broad range of features.

Developer Tools Blogs


Visual Studio 2019 Release Notes History

For more information relating to past versions of Visual Studio 2019, see the Visual Studio 2019 Release Notes History page.


Top of Page