Visual Studio 2022 version 17.3 Preview Release Notes
Tip
Watch the recordings of the Visual Studio 2022 launch event to learn about what's new, hear tips & tricks, and download free digital swag.
Developer Community | Visual Studio 2022 Roadmap | System Requirements | Compatibility | Distributable Code | License Terms | Blogs | Latest Release Known Issues | Whats New in Visual Studio Docs
Click a button to download the latest version of Visual Studio 2022. For instructions on installing and updating Visual Studio 2022, see Update Visual Studio 2022 to the most recent release. Also, see instructions on how to install offline.
Visit the visualstudio.microsoft.com/downloads page to download other Visual Studio 2022 products.
Important
Preview Channel is not "go-live" and not intended for use on production computers or for creating production code. For more information, see Visual Studio Product Lifecycle and Servicing.
What's New in Visual Studio 2022 version 17.3 Preview
Visual Studio 2022 version 17.3 Preview Releases
- May 10, 2022 — Visual Studio 2022 version 17.3 Preview 1
Visual Studio 2022 Blog
The Visual Studio 2022 Blog is the official source of product insight from the Visual Studio Engineering Team. You can find in-depth information about the Visual Studio 2022 releases in the following posts:
Visual Studio 2022 version 17.3 Preview 1
released May 10, 2022
Summary of What's New in this Release of Visual Studio 2022 version 17.3 Preview 1
Test tools
- Remote Testing now supports test runs against remote arm64 windows environments.
- The new build experience for [Live Unit Testing] is now enabled by default. Read our blog post to learn more.
- You can now choose to see code coverage information on the editor margin by selecting "Margin Glyphs" in the Code Coverage Results window.
.NET Productivity
We now have a code fix that fixes invalid constraints. Place your cursor on the diagnostic squiggle in the editor. Press Ctrl+. to trigger the Quick Actions and Refactorings menu. Select Fix constraint.
We now have a refactoring that allows you to switch between top-level statements and the Program.Main style. Place your cursor on a top-level statement. Press Ctrl+. to trigger the Quick Actions and Refactorings menu. Select Convert to ‘Program.Main’ style program.
We added additional scopes to the Fix All operation. In addition to applying the Fix All operation to a Document, Project, and Solution, you can apply Fix All to a Containing Member and Containing Type.
We now automatically convert single line comments to doc comments when you add an additional forward slash to a single line comment.
We now have a code style option that allows you to warn on possible exceptions in a foreach loop. Foreach loops implicitly casts to derived types by design. This was necessary before generics existed but can lead to runtime exceptions in some cases.
C++
- Improved fallback of Go to Definition to suggest matching overloads if an exact match is not available (e.g. after signature change).
Razor (ASP.NET Core) Editor
- The new Razor editor now has full completion support inside of an
<attribute>
. - The new Razor editor now correctly handles completion for HTML attributes when typing = “ ”.
- The new Razor editor now support HTML, JavaScript, and CSS OnTypeFormatting.
Installer
- You can now update all side-by-side versions of Visual Studio with an “Update all” button on the installer.
Issues Addressed in this release of 17.3 Preview 1
From Developer Community
- search in cmake view doesnt filter files
- "Go To Document" (F12) for C++ #include statements fails when using /external:I
- Error: Value cannot be null. Parameter name: path1
- devenv crashes while debugging
- Adding strings to resx file pops a modal error dialog
- Add include quick-action adds header along INCLUDES <> path rather than relative header via ""
- Outlining collapses code AFTER user navigates to it via search results item or go-to-definition, etc.
- Tried to Hot Reload a .NET MAUI Blazor app and got an exception
- Pasted Comments Indentation Issue
- VS2019 standard exception headers: warning C5240: 'nodiscard': attribute is ignored in this syntactic position
- C6389 false positive on main etc
- XAML design mode in Blend 2019 (previously reported and closed)
- Visual Studio 2022 : Double Clicking on solution file in the Source Control Explorer opens the sln file as plain text
- Light Bulb Suggestion "Encode image in base64" Missing in Visual Studio 2022 CSHTML editor
- CSS editor says ::deep is not a valid pseudo-element
- After an install of 17.1.0 Preview 1.1, the IDE fails to launch with the following dialogs. Uninstalling and reinstalling fail to resolve.
- The “CompareBuildTaskVersion” task could not be loaded from the assembly
- MsBuild doesn't give /delayload flags to linker when using LLVM toolchain
- env in launch.vs.json doesn't work for native
- Support ::deep in .razor.css CSS isolation files to avoid validation warnings in the log
- Blend 2022 'visual studio xml editor package' package did not load correctly'.
- Code coverage not generating results with visualstudio2022testagent
- The selected certificate is not valid for code signing
- Project options parameter values are retained in the same instance rather than resetting after the project creation
- .Net Async profiler tool doesn't show anything
- spacing fix-up A && B -> A&& B
- Git no longer supports 'preserve-merges', stop offering that option
- After fresh install of Visual Studio 2022 Version 17.1 "devenv.exe" does not start.
- PreFAST: integer status code works, class-holding-integer status code does not
- Unable to add Windows Application Packaging Project to Xamarin Forms Solution in Visual Studio Community 2022
- PreFAST: Incorrect Build break - error C2036: 'intarr (*)': unknown size
- JSON Visualizer confused by array containing numbers with decimal point
- Inline hints experience is very poor.
- RequestExecutionQueue fails to dispose of a linked CancellationTokenSource
- create app packages crashes visual studio with no info as to why
- HTTP Configuration loaded as HTTPS configuration in Blazor Server Project
- Visual Studio hangs when trying to do a renaming of classes
- Syntax highlighting for variables/functions with keyword as name
- IDE freezes when building a .NET 6 project
- 'git' is not recognized as an internal or external command, operable program or batch file.
- DkmCustomUIVisualizerInfo and random order in context menu
- Can't run .NET MAUI project after adding it to a solution and setting it as the startup project
- Visual studio 2022 hangs when pasting in files or adding new files
- Autocompletion does not work with macro. (Visual Studio 2022 17.1)
- Continuous high CPU usage by Microsoft.ServiceHub.Controller.exe
- Crash of process devenv.exe System.NullReferenceException
- VS 2022 crash on file rename in Solution Explorer
- Format Document doesn't work on fxh
- Breakpoints are not being hit when debugging Xamarin application in Visual Studio 2022
- Generating a CMake cache using CMakePresets.json deletes folder content
- Go To Files doesn't show files inside folders when using "Show all files"
- Visual Studio should update Entitlements.plist when checking Health Kit option
- What is new is causing a goldbar on startup for performance
- MSIX Signing Extension Requires Basic Constraint extension but signtool.exe does not
- CSS validation warnings displayed for scrollbar-width and scrollbar-color
- Visual Studio 2022 crashes when selection "Select from Store" button
- Hot Reload not working on real iOS device
- Incorrect inheritance processing in CMakePreset.json
- Installer UI inaccurately shows "All installations are up to date"
- After using "Update All" button, all three instances show as up-to-date, but gray bar at the top still shows "Updating..."
- .NET Maui C# hot reload not working (Windows + Android apps)
- During debugging "Diagnostic Tools" setting failed with message: "Scratch directory does not exist!"
- New project dialog crashes VS
- Android SDK Manager and Device Manager not working
- Create a pull request from Git Changes Tab
- Property Window for XAML file for Xamarin Project is showing blank
- (CMake): Consecutive configures will sometimes delete the cache beforehand
- After recent VS 2022 preview 5.0 and as well as v6.0, I no longer can open the Web browser to create PR from the Git changes window
- Live Unit Testing fails to start due to modified collection in HostedLiveUnitTestingCommands.GetOrchestratorActivityStateWhenRunningAsync
Known Issues
See all open issues and available workarounds in Visual Studio 2022 by following the below link.
Feedback and suggestions
We would love to hear from you! You can Report a Problem or Suggest a Feature by using the Send Feedback icon in the upper right-hand corner of either the installer or the Visual Studio IDE, or from Help > Send Feedback. You can track your issues by using Visual Studio Developer Community, where you add comments or find solutions. 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.