Visual Studio 2019 Preview Release Notes
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
- January 22, 2020 — Visual Studio 2019 version 16.5 Preview 2
- December 3, 2019 — Visual Studio 2019 version 16.5 Preview 1
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:
- 'Tis the Season for Visual Studio 2019 v16.4 Release
- Visual Studio 2019 v16.4 Preview 2, Fall Sports, and Pumpkin Spice
- .NET Core Support and More in Visual Studio 2019 version 16.3 - Update Now!
- Visual Studio 2019 version 16.3 Preview 2 and Visual Studio 2019 for Mac version 8.3 Preview 2 Released!
- Visual Studio 2019 version 16.2 and 16.3 Preview 1 now available
- Visual Studio 2019 version 16.2 Preview 2
- Visual Studio 2019 version 16.1 and Preview 16.2 Preview
- Visual Studio 2019: Code faster. Work smarter. Create the future.
released January 22, 2020
In This Release of Visual Studio 2019 version 16.5 Preview 2
Details of What's New in Visual Studio version 16.5 Preview 2
Visual Studio IDE
You can now turn a fragment of code from an existing method into a local function. Highlight the code you want extracted. Press (Ctrl+.) to trigger the Quick Actions and Refactorings menu. Select Extract local function.
You can now simplify string interpolations when possible. Place your cursor on the string interpolation. Press (Ctrl+.) to trigger the Quick Actions and Refactorings menu. Select Simplify interpolation.
You now have the option to exclude generated files or folders when running analyzers. Create an EditorConfig file and mark the required files or folders as generated with the following syntax:
You can now see which managed thread is holding a .NET object lock via the Call Stack window, Parallel Stacks window, and the location column in the Threads window. <img src="media/16.5/16.5_P2_view-dotnet-object-lock.png" align='bottom' alt="View .NET object lock in Call Stack"
We've added the ability to toggle whether Enter, Space, and Tab function as commit characters, and to toggle whether Tab is used to Insert Snippet. Find these settings under Tools > Options > Text Editor > C/C++ > Advanced > IntelliSense.
You can now leverage Visual Studio's native support for WSL when separating your build system from your remote deploy system. This allows you to build natively on WSL and deploy the build artifacts to a second remote system for debugging. This workflow is supported by both CMake projects and MSBuild-based Linux projects.
You are now able to interact with your stored remote connections over the command line. This is useful for tasks such as provisioning a new development machine or setting up Visual Studio in continuous integration.
The source file copy for CMake projects targeting a remote Linux system has been optimized. Visual Studio now keeps a "fingerprint file" of the last set of sources copied remotely and optimizes behavior based on the number of files that have changed.
Add, remove, and rename source files and targets in your CMake projects from the IDE without manually editing your CMake scripts. When you add or remove files with the Solution Explorer, Visual Studio will automatically edit your CMake project. You can also add, remove, and rename the project's targets from the Solution Explorer's Targets View.
New XAML Designer Preview for WPF .NET Framework Projects is now available for early preview. This new designer brings with it the same improvements now available to WPF .NET Core developers and includes better performance and bug fixes. We encourage all .NET Framework WPF customers to give this improved designer a try and report any issues you encounter through the feedback hub.
- Some 3rd party control extensibility will be disabled
- Blend data, resources and triggers panels will be disabled
To get started go to options > Preview Features and select “New WPF XAML Designer for .NET Framework” and restart Visual Studio.
Note: This feature is a preview channel only capability that will not be finalized until a future release that has not yet been determined.
Other improvements include:
Changing “Artboard Background” color for the XAML Designer now works with WPF .NET Core projects (Options > Environment > Fonts and Colors, then change to XAML Designer settings and update Artboard Background)
XAML Designer now supports loading .NET Core 3.x Projects that include PublishSingleFile, RuntimeIdenfier and PublishTrimmed settings in their project file (csproj). Note that including these settings slows down designer performance.
Top Issues Fixed in This Release of Visual Studio 2019 version 16.5 Preview 2
You can now see a hierarchy of your Xamarin.Forms controls in the Document Outline pane. On Windows, it can be opened with Ctrl+Alt+T (View > Other Windows > Document Outline). On Mac, you can open it via Views > Pads > Document Outline.
This release includes a preview of Xamarin Hot Restart for iOS apps built with Xamarin.Forms. Hot Restart enables a much faster build and deploy cycle when making changes to your code, resources, and even project references. It also works with XAML Hot Reload to speed up your inner development loop editing both your UI and code: Check out the Xamarin Hot Restart documentation to get started.
- You can now apply Android resource changes at runtime using Android Apply Changes. This feature allows you to quickly see changes made to your Android resource files (XML layouts, drawables, etc) on an Android device or emulator without requiring the application to be restarted.
- You can now generate your own custom profiles when using startup tracing in your Android application. This provides you an even more performant startup experience with a minimal increase to APK size.
- You can now generate Xamarin.Android bindings against Kotlin libraries.
- You can now use the Google Manifest Merger when merging AndroidManifest.xml files in your Android projects. This allows you to customize how each manifest and its contents will be merged. For more details on rules that can be applied, please see Merge multiple manifest files.
- You can now opt-into a new option which will automatically reload all opened designer surfaces when any modification is done to your codebase.
- Take advantage of consolidated editor functionality to offer more responsive and precise IntelliSense. This includes many changes such as improved completion for common XML constructions such as attribute quotes and updating end tag names automatically. You can control these behaviors via Android XML editor preferences:
released December 3, 2019
In This Release of Visual Studio 2019 version 16.5 Preview 1
|Visual Studio IDE|
|New Features||On-hover a close button appears for each document in the tab group overflow list|
|Productivity Improvements||Implemented user suggested improvements in vertical tabs|
|New Features||Ability to use System.HashCode to implement the GetHashCode method when System.HashCode is available|
|Ability to convert
|IntelliSense completion for unimported extension methods|
|Productivity Improvements||Visual Studio Linux projects now have more accurate IntelliSense and allow you to control remote header synchronization on a project-by-project basis.|
|Productivity Improvements||Now provides .NET Core Worker Server support.|
|Support was added for Azure Functions v3. This gives a new option during project creation to use v3 instead of v2.|
|When publishing to App Service Linux, Visual Studio now waits until the app is running before opening the browser window.|
|New Features||Enabled support for the 1909 version of Windows 10 as a UWP target platform.|
|Dragging an image from project into the XAML editor generates an Image tag|
|Suggested Actions in XAML Designer for easier access to common properties|
|ESLint for TypeScript files|
|Experimental: Faster syntax highlighting engine that uses the syntax tree instead of TextMate grammars|
Top Issues Fixed in This Release of Visual Studio 2019 version 16.5 Preview 1
Details of What's New in Visual Studio version 16.5 Preview 1
Visual Studio IDE
You can now convert
if to switch statements or switch expressions. Place your cursor on the
if keyword. Press (Ctrl+.) to trigger the Quick Actions and Refactorings menu. Select Convert to 'switch' statement or Convert to 'switch' expression.
There is now IntelliSense completion for unimported extension methods. You will first need to turn this option on in Tools > Options > Text Editor > C# > Intellisense > and select Show items from unimported namespaces.
XAML Designer Suggested Actions enables easy access to common properties when a control is selected within the XAML Designer. To use this feature first enable it through Options > Preview Features > XAML Suggested Actions. Once enabled click on a supported control and use the lightbulb to expand and interact with the Suggestion Actions UI. In this release supported controls include: Border, Button, Canvas, CheckBox, ComboBox, Grid, Image, Label, ListBox, ListView, StackPanel, TextBlock, TextBox. While in preview this feature is also only available for WPF .NET Core applications and doesn’t support extensibility, nor is it feature complete.
Other improvements include:
- Enabled support for the 1909 version of Windows 10 as a UWP target platform.
Visual Studio now supports ESLint for Typescript files: there is a global configuration with a set of recommended rules or ESLint can be set up locally to a project with full customization. More information and instructions available on our GitHub page
See all open issues and available workarounds in Visual Studio 2019 by following the below link.
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 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.
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.
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.