Visual Studio 2019 v16.10 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 v16.10 Preview
Visual Studio 2019 v16.10 Preview Releases
- March 02, 2021 — Visual Studio 2019 version 16.10 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:
- Available Today! Visual Studio 2019 v16.9 and v16.10 Preview 1
- Visual Studio 2019 v16.9 Preview 3 is Available Today!
- Visual Studio 2019 v16.9 Preview 2 and New Year Wishes Coming to You!
- Visual Studio 2019 v16.8 and v16.9 Preview 1 Release Today!
- Visual Studio 2019 Releases Preview Features in v16.8 Preview 3.1!
- Visual Studio 2019 v16.8 Preview 2 Releases New Features Today!
- Visual Studio 2019 v16.7 and v16.8 Preview 1 Release Today!
- Exciting new updates to the Git experience in Visual Studio
- Visual Studio 2019 v16.6 Preview 2 Available Today!
- Releasing Today! Visual Studio 2019 v16.6 & v16.7 Preview 1
- See What's New in Visual Studio 2019 version 16.6 Preview 3!
- Visual Studio 2019 version 16.6 Preview 2 Brings New Features Your Way
- Visual Studio 2019 version 16.5 is released!
- '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 March 02, 2021
Summary of What's New in this Release of Visual Studio 2019 version 16.10 Preview 1
- 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
- Switch to V2 of API for Azure AD provisioning
- Azure App Configuration as a Connected Service now supports dynamic configuration
- 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.
- Diagnostic Analysis of memory dumps now includes Managed Linux core dumps.
Issues Addressed in this Release
From Developer Community
- .sqlproj not updating with changes
- Array access in compound literals initializers gives incorrect offsets
- Visual Studio 2019 Preview 2 standard c++ library modules issues/comments
- Visual Studio 2019 still wipes CMakeBuild directory each time I touch CMakeFiles.txt or CMakeSettings.json
- MSVC does not respect constexpr if within lambdas
- Noexcept default constructor
- #Pragma warning(push, )) does not disable all warnings for its scope if /Wall is set
- Constexpr-if and unused parameter
- Can't declare constexpr initializer_list
- C++latest confuses calling convention in template parameter
Details of What's New in Visual Studio 2019 version 16.10 Preview 1
- 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:
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:
- 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:
- 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.
- There is now IntelliSense completion for Enum values when a type is known even if the Enum name is not entered.
- 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.
- 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).
For example, you can set your code style preference to report a diagnostic and offer a code fix to 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.
Last but certainly not least, a big Thank You to the following people who contributed this month to .NET Productivity (a.k.a. Roslyn):
- Benjamin Schäublin (@bschaeublin):
- Fixed redundant text in remark for MetadataReference overload PR #51242
- Martin Strecker (@MaStr11):
- piotrstenke (@piotrstenke):
- Updated properties pointing to themself in the
tag in GeneratorContexts.cs PR #50896
- Updated properties pointing to themself in the
- Huo Yaoyuan (@huoyaoyuan):
- Updated keyword recommender to know about structs readonly members PR #50820
- Yair Halberstadt (@YairHalberstadt):
- Support for mixed declaration and assignment in deconstruction PR #44476
- Youssef Victor (@Youssef1313):
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.
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 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.