Visual Studio Icon Visual Studio 2019 v16.10 Preview Release Notes



Developer Community | System Requirements | Compatibility | Distributable Code | License Terms | Blogs | Latest Release 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.

Download Community Button Download Professional Button Download Preview Button


What's New in Visual Studio 2019 v16.10 Preview

Visual Studio 2019 v16.10 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.10 Preview 1 New release icon

released March 02, 2021

Summary of What's New in this Release of Visual Studio 2019 version 16.10 Preview 1

.NET Productivity:

  • Remove Unused References
  • Smart Break Line
  • Simplify LINQ expression refactoring
  • IntelliSense completion for Enum values
  • IntelliSense completion mode setting
  • Code style preference for new lines
  • Find All References support for Source Generators

Web Tools:

  • Switch to V2 of API for Azure AD provisioning
  • Azure App Configuration as a Connected Service now supports dynamic configuration

Git Productivity:

  • Improved performance and reliability for source control glyphs in Solution Explorer.
  • Preserve incoming/outgoing sections in Git Repository window even when empty.
  • Consolidated Fetch/Pull/Push dropdowns for multiple remotes in Git Changes window to a single Action menu.

Debugging & Diagnostics

  • Diagnostic Analysis of memory dumps now includes Managed Linux core dumps.

Issues Addressed in this Release

From Developer Community

See this full list of all Developer Community items taken in Visual Studio 2019 version 16.10 Preview

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

.NET Productivity

  • We added a Remove Unused References command that allows you to clean up project references and NuGet packages that have no usage. This option is off by default so you will need to enable it in Tools > Options > Text Editor > C# > Advanced and select Show “remove Unused References” command in Solution Explorer (experimental). Once the option is enabled the Remove Unused References command will appear in the right-click menu of a project name or dependencies node in Solution Explorer:
Remove Unused References command
Remove Unused References command

Selecting Remove Unused References will open a dialog where you can view all references that are going to be removed with an option to preserve the ones that you want to keep:

Remove Unused References dialog
Remove Unused References dialog
  • We added a new command called Smart Break Line that automatically inserts a set of braces and places the caret within those braces when using Shift+Enter as a commit character. Smart Break Line works for all type declarations that require braces as well as properties, events, fields, and object creation expressions. The example below shows Smart Break Line used on a class and a field. If the field doesn’t have a semicolon at the end, typing Shift+Enter will convert the field to a property by adding a set of braces. You can press Shift+Enter again to undo the commit which will also automatically add a semicolon at the end of the field:
Smart Break Line
Smart Break Line
  • There is now a refactoring to simplify LINQ expressions which will remove the unnecessary call to the Enumerable for the .Where() method to help improve performance and readability. Place your cursor on the LINQ expression. Press (Ctrl+.) to trigger the Quick Actions and Refactorings menu. Select Simplify LINQ expression.
Simplify LINQ Expression
Simplify LINQ Expression
  • There is now IntelliSense completion for Enum values when a type is known even if the Enum name is not entered.
IntelliSense completion for Enum values
IntelliSense completion for Enum values
  • We added a new IntelliSense completion mode setting that gives you the ability to set default completion options. This new setting is available in Tools > Options > Text Editor > Advanced > Default IntelliSense completion mode where you can choose from the following options: Last used which will preserve the last setting you used with Ctrl+Alt+Space, Tab-only which will only complete on tab, and Automatic which is currently the default behavior that will complete on punctuation and special characters.
IntelliSense completion mode setting
IntelliSense completion mode setting
  • We added new code style preferences for new lines. You can configure these preferences with an EditorConfig file or within Tools > Options > Text Editor > C# > Code Style > New line preferences (experimental).
Code style options for new lines
Code style options for new lines

For example, you can set your code style preference to report a diagnostic and offer a code fix to remove extra blank lines:

Code fix remove extra blank lines
Code fix remove extra blank lines
  • There is now Find All References support for Source Generators that allows you to find references in a source generated document.

Debugger & Diagnostics

  • We have developed several analyzer to help catch common issues in managed memory dumps. This analysis can now be performed on managed Linux core dumps.
Automatically analyze memory dumps
Diagnostics Analysis
Thank you

Last but certainly not least, a big Thank You to the following people who contributed this month to .NET Productivity (a.k.a. Roslyn):

Web Tools

Dynamic configuration allows for configuration resources to be refreshed automatically using a middleware. App Configuration as a Connected Service can now automatically integrate dynamic configuration into your application. To use this connected service, click on Connected Services and add Azure App Configuration as a Service Dependency.


Known Issues

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


Feedback and suggestions

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.


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