Visual Studio 2022 version 17.4 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 | Release History | 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 Visual Studio site 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.
Visual Studio 2022 version 17.4 Preview Releases
- November 1st , 2022 — Visual Studio 2022 version 17.4 Preview 6
- October 25th , 2022 — Visual Studio 2022 version 17.4 Preview 5
- October 18th , 2022 — Visual Studio 2022 version 17.4 Preview 4
- October 11th , 2022 — Visual Studio 2022 version 17.4 Preview 3
- September 20th , 2022 — Visual Studio 2022 version 17.4 Preview 2.1
- September 14th , 2022 — Visual Studio 2022 version 17.4 Preview 2
- August 9th , 2022 — Visual Studio 2022 version 17.4 Preview 1
Support Timeframe
Visual Studio 2022 version 17.4 will be the next long term servicing channel once it's released. Enterprise and Professional users who are configured to receive updates on the 17.4 LTSC channel are supported and will receive fixes to security vulnerabilities through July 2024. For more information about Visual Studio supported baselines, please review the Support Policy for Visual Studio 2022.
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.4 P2 is Available Today!
- Visual Studio 2022 version 17.4 P1 is Available now !
- Visual Studio 2022 version 17.3 is Available now!
We’ve addressed a number of your top-reported bugs in this release and added new features based on your suggestions in Developer Community. Thank you for your continued feedback. Here’s a list of your suggestion we are shipping as part of this preview.
- Introduce the ability to roll back a Visual Studio Update
- Allow multiple Git repositories to be active at once
- Adding a button to Test Explorer to reset the tests to “Not Run”
- CMake weird test name prefix
- Moving/migrating from preview channel to release channel of Visual Studio 2019 installation
- Arm64 support for Node.js
- C++ Android development – gradle
- Arm64 support for Visual Studio SDK
- Feedback on the rollback feature introduced in VS 2022 version 17.4 P1
- Arm64 support for Game Development with C++
Visual Studio 2022 version 17.4 Preview 6
released November 1st, 2022
Summary of What's New in this Release of Visual Studio 2022 version 17.4 Preview 6
- Visual C++ ARM64EC individual options have been removed and the content are now installed with the ARM64 options.
- Includes servicing update 10.0.22621.755 for Windows SDK for Windows 11.
- Fixed issue where XAML properties panel for .NET MAUI projects would display no properties.
- Fixed an issue where under certain conditions, the MAUI app may crash when being detached from the debugger.
- Fix an issue in the IEnumerable Debugger Visualizer that caused Visual Studio to crash when expanding or hiding columns.
From Developer Community
- Linkage specification in header unit module contradicts the usage of that function if it is defined without explicit linkage specification
- Unexpected error C2440 with MSVC 17.4 Preview 2 when building with /Zc:lambda
- Unexpected error C2664 in MSVC 17.4 Preview 2
- VS 2022 17.4 Preview 3 : can't login (Could not establish trust relationship for the SSL/TLS secure channel) (Corporate Firewall)
- VS17.4 preview 2.1 won’t highlight/jump to error message line in output window when double clicking on items in error list
- Solution closes immediately after opening
Visual Studio 2022 version 17.4 Preview 5
released October 25th, 2022
Summary of What's New in this Release of Visual Studio 2022 version 17.4 Preview 5
- Fixed an issue where the compiler could crash performing copy/move elision on a function with three or more return statements.
- Implemented P2513R4 char8_t Compatibility and Portability Fix under /std:c++latest and /std:c++20 (ISO C++20 DR) See P2513R4: char8_t Compatibility and Portability Fix (open-std.org).
- Fixed an issue with static virtual interface members not included in type parameter completion.
- Fix for localization issues in Windows Forms .NET Designer.
- Fixed the package Microsoft.NET.StringTools to be consumable from apps targeting netstandard2.0.
- Fixed reverting an extension that overwrites a component extension (e.g. Textmate, LiveShare).
From Developer Community
- Runtime Text Template behaviour changed in Visual Studio 2022 17.3.x
- Terminal Default Profile Isn't Being Loaded Unless Developer PS Profile Is Deleted
- Visual Studio clears dirty flag before calling OnBeforeSave
Visual Studio 2022 version 17.4 Preview 4
released October 18th, 2022
Summary of What's New in this Release of Visual Studio 2022 version 17.4 Preview 4
- Added support to for pattern in pattern matcher to handle suffix-less vectors.
- Added the oneTBB version info to tbbmalloc.dll
- Changed internal data structure access method so that this crash will not happen again.
- Fixed numerous issues with modules where mixing header files and modules would issue bogus errors and/or incorrectly merge declarations.
- Corrected a regression where forward-declaring an enumeration without a fixed underlying type after it is defined could cause an incorrect underlying type to be deduced.
- Added a new conformance switch /Zc:enumTypes[-] to control Standard-conforming behavior for the deduced underlying types of some enumerations and enumerators. This is no longer enabled by default under /permissive- to avoid potential binary compatibility issues.
- Fixed a bug where out variables of ref struct type would have an excessively wide escape scope, resulting in a compilation error at the call site where the out variable is declared.
- Fixed an issue that caused Visual Studio to sometimes block stepping while debugging WPF applications. VS reported that changes were made that prevent the debugging session from continuing.
- Fix for Visual Studio UI delay in Windows Forms .NET designer load and reload scenarios.
- Update .NET MAUI to NET7 RC2
- Adds support for Xcode 14.0 to .NET 7 for iOS/tvOS
- Fixes a bug where the "Apply filter" dialog was not working correctly for MSA accounts.
- Fixed an issue with the .NET Instrumentation tool could show frames taking greater than 100% of time
- Under some circumstances, the SKU of the App Service created for an Azure Functions app that targets an App Service plan in an incorrect SKU.
From Developer Community
- Internal error in UpToDateCheckImplicitConfiguredInputDataSource: ArgumentException: Must not be DateTime.MinValue
- Details for Installed MAUI packages are missing NuGet Project PM UI
- Regression in MFC class CSimpleStringT::CloneData, atlsimpstr.h (atlmfc\include)
- Hot Reload C# things there are changes when there are none
- Task Failed - Activating language client HtmlLanguageClient: HtmlLanguageClient failed to initialize.
Visual Studio 2022 version 17.4 Preview 3
released October 11th, 2022
Summary of What's New in this Release of Visual Studio 2022 version 17.4 Preview 3
Installation and Updates
The ability to easily remove all of the components that have transitioned to an out-of-support state is now feature complete. Both Developers and IT administrators can invoke this action to bulk uninstall these unsupported components, which will facilitate maintaining a secure and compliant environment. With Preview 3, all update functionality now respects this setting. Furthermore, for those enterprises that utilize layouts, it's possible to configure the layout once (in the response.json) and that will in turn instruct administrator updates to respect this setting and enforce it on the clients. For additional details on how this functionality works, please visit the RemoveOos preview details and feedback page.
C++
- Added experimental MSVC flag
/experimental:log<directory>to output SARIF build logs to the specified directory. - Added support for C23 attributes to IntelliSense and continued progress in C++20 modules support.
- Improved indexing performance when opening a new solution. Large projects could see a 20-35% improvement from 17.3.
- Improved Named Return Value Optimisation (NRVO) by:
- Enabling NRVO for cases which involve exception handling or loops.
- Enabling NRVO even under
/Odif the user passes the/Zc:nrvoflag or/std:c++20or later or/permissive-. - Allowing users to disable NRVO with the
/Zc:nrvo-flag.
- Upgraded the version of LLVM shipped with Visual Studio to 15.0.1. See the LLVM and Clang release notes for what is available.
Top updates in this release include:
- Added .NET 7 RC2, 6.0.402, and 3.1.424 SDKs (MAUI remains at the RC1 version)
Visual Studio 2022 version 17.4 Preview 2.1
released September 20th, 2022
- Visual Studio will now install .NET 7.0 RC1 as the default SDK and runtime.
- This release includes support for .NET 7.0 RC1 MAUI, Android, iOS and related workloads.
Visual Studio 2022 version 17.4 Preview 2
released September 14th, 2022
Summary of What's New in this Release of Visual Studio 2022 version 17.4 Preview 2
Updates via Microsoft Endpoint Manager
Visual Studio security updates will become available to modern cloud connected Azure Active Directory (AAD) joined devices that use Windows Update for Business and are managed by mobile device management solutions such as Microsoft Endpoint Manager (formerly known as Intune). You can now preview this functionality on your client devices by setting a Preview policy key. Refer to the 17.4 Preview 2 blog post for additional details and instructions on how to configure your devices so that the security updates will be available to them, and provide feedback here.
Microsoft Teams Development Tools (Teams Toolkit)
- With this new version of Teams Toolkit, updates are required to the Azure Active Directory template file, projectSettings.json, and the app manifest file. These updates are done automatically after performing a Teams Toolkit menu command, and don't change your project source code. The output window will shows the status of the update.
- The Tab application type in the Microsoft Teams App project template wizard includes the option to configure single sign-on or not. Add it later using Project > Teams Toolkit > Add Authentiation Code. Learn more about Teams Toolkit in the docs: https://aka.ms/teams-toolkit-vs-docs
F#
- We continue improving tooltips for F# identifiers, fixing a few edge cases:
- Also fixed Visual Studio crashing for specifying
--versionin compiler flags
C++
- We have added support to Visual Studio for vcpkg artifacts with CMake projects. For projects that include a vcpkg manifest the environment will be activated automatically on project open. You can learn more about this in the vcpkg environment activation in Visual Studio blog post.
- You can now use Dev Containers for your C++ projects. You can learn more about this feature in our Dev Containers for C++ blog post.
- Made IntelliSense respect the order of preincluded headers when one is a PCH. Previously, when a PCH was used via
/Yuand force-included via/FI, IntelliSense would always process it first, before any other headers included via/FI. This did not match the build behavior, so with this change/FIheaders are processed in the order they are specified. - Removed internal prefixes from CTest names in Test Explorer.
- Updated the version of CMake shipped with Visual Studio to version 3.24.1. See the CMake release notes for what is available.
- Android SDK update
- Ant scripts have been removed, so users will no longer see Ant-based templates in the New Project dialog. For help migrating from Ant templates to Gradle templates, please see: Migrating Builds From Apache Ant (gradle.org)
- Added support for building with NDK 23 and 24
- Updated NDK component to the LTS version 23
- Added vectorized implementations of
ranges::min_element(),ranges::max_element(), andranges::minmax_element() - We continue to track the latest developments in C++ standardization, support for the following C++ 23 features is available by including /std:c++latest in your compiler options
Audio Cues
- We have added two additional audio cues in this preview. To enable the audio cues, go to Tools > Manage Preview Features, then check the "Enable audio cues for the Editor".
- The two new audio cues will be played when the caret arrives on a line that has been added or deleted when viewing a file in the diff viewer. These audio cues are added to the error, breakpoint and warning audio cues that were added in 17.3.
Markdown
- We have added a very early preview of our markdown editor for Visual Studio. To enable the markdown editor, go to Tools > Manage Preview Features, then check the "Markdown language service" option.
- Once the feature is enabled, opening any .md file will open the new markdown editor in Visual Studio. To open the preview for the markdown, there is a Preview button at the bottom right of the editor (next to the Line and Column information).
- This experience is a very early preview and we expect much of it to change. If you have feedback on the experience, please join the conversation here on Developer Community.
.NET Productivity
- There is a new Inline Rename UI that allows you to rename a type. Press Ctrl+R,R to bring up the new Inline Rename experience. Notice that the new UI will now show up under the type with an option to rename comments, strings, and symbol files.

- There is now an option to disable Source Link and Embedded source. You can disable this in Tools > Options > Text Editor > C# > Advanced and deselect Enable navigation to Source Link and Embedded sources.

Debugging & Diagnostics
- DataTable visualizer is now upgraded with new improvements like filtering, sorting, exporting, and theming.
- To export the data export in CSV/Excel format use the dropdown on the top right corner.
- The Visualizer will also allow you to filter data based desired filter string. It will return all the rows that contain a value that matches the filter string. You can also export the filtered and sorted results in CSV/Excel format.
- The visualizer window will be themed as per your selected Visual Studio theme.

Visual Studio 2022 version 17.4 Preview 1
released August 9th, 2022
Summary of What's New in this Release of Visual Studio 2022 version 17.4 Preview 1
Installation and Updates
The Visual Studio installer that's debuting in this Visual Studio 2022 version 17.4 Preview 1 includes two new features: Rollback and Remove out-of-support components
The first feature included with the Visual Studio installer is Rollback – the ability to return to your previously installed version of Visual Studio.
What will happen?
Rolling back will return Visual Studio to the version installed prior to the last applied update. It will keep any modifications to selected components chosen since that last update. Local customizations such as your user settings and profiles will be removed. However, your common synchronized settings such as themes, fonts, key bindings, and windows layout will be restored.
As of now, you will be able to rollback to components that come with the VS instance and shared components such as SDKs and tools that are owned and managed only by VS. Per-machine extensions, system-wide components, and tools that are not managed by Visual Studio will remain in their current versions. However, per-user extensions will be uninstalled. Please refer to section “Components that are compatible” below for more information.
What will happen to my security updates?
Security updates that are included in a release greater than the version you rolled back to will be removed which could make your device vulnerable. We recommend always updating back soon to the latest version to stay secure.
Which versions support rollback?
You will be able to test the Rollback feature using the latest Visual Studio 2022 Preview version (17.4 P1).
Components that are compatible
The following table outlines the type of components that are supported with the rollback feature. As a general rule of thumb, components that VS installs, and uses are included in the rollback attempt.

Can I rollback if I am in a managed environment?
Due to your organizational policies and the requirement to be on the most secure version, your rollback attempt might be undone. We recommend that you be on the preview channel to test this feature out.
How can I Rollback?
You should be seeing “Rollback to previous version” from the More dropdown button on a product card after an update.

From there, a warning pop up will appear and you will have the option to either cancel or proceed.

Let us know your thoughts!
We would love to get your feedback on the rollback feature, so please give it a try and let us know what you think. You can share any feedback by visiting https://aka.ms/DeveloperCommunity-RollbackFeedback.
The second new feature included with the Visual Studio installer is the ability to easily remove all of the components that have transitioned to an out-of-support state. Both Developers and IT administrators can invoke this action to bulk uninstall these unsupported components, which will facilitate maintaining a secure and compliant environment. Part of this feature is being delivered in Preview 1, and the rest will come online in later Previews. For additional details on the Preview, please visit the RemoveOos preview details and feedback page.
.NET Productivity
- You can now easily view a file’s structure at a glance in the Document Outline window. The Document Outline window displays the symbol tree of the file in the editor helping you quickly navigate and edit project files. You can open Document Outline by going to View > Other Windows > Document Outline or by using the shortcut Ctrl+Alt+T.

Arm64
This preview continues to build out our native Arm64 support on Windows 11. In addition to supporting .NET desktop development (WinForms and WPF), Desktop development with C++ (for MSBuild-based projects) and ASP.NET and Web development, we have now enabled the Universal Windows Platform development workload.
Read our blog post to learn more.
F#
- Tooltips for local functions now show argument names

C++
- Added an option "Navigation after Create Declaration/Definition" to allow you to choose the navigation behaviour of the Create Declaration/Definition feature. You can select between peeking (the default) or opening the document, or no navigation.
- Arm64 builds of Visual Studio now bundle Arm64 versions of CMake and Ninja.
- Added support for CMake Presets version 4. See the CMake release notes for details of what is available.
- Connecting to remote systems with the Connection Manager now supports SSH ProxyJump, which is used to access a SSH host via another SSH host (for example, to access a host behind a firewall).
- You can now use devcontainers for you cross platform C++ development with CMake. Just include a devcontainer.json file with your project just as you would for use with Visual Studio Code to enable the functionality. This is currently limited to C++ projects configured with CMakeLists.txt and CMakePresets.json.
- Added integrations for vcpkg artifacts.
vcpkg activatewill be run in the background if avcpkg-configuration.jsonfile is found, and environment variables will be loaded for the new environment when it has completed. - We continue to track the latest developments in C++ standardization, support for the following C++ 23 features is available by including /std:c++latest in your compiler options
- P0849R8
auto(x):decay-copyIn The Language- The compiler part is not yet implemented; the library part was implemented in C++20 mode when Ranges were initially implemented.
- P0881R7
<stacktrace> - P2301R1 Add A
pmrAlias Forstd::stacktrace - P1328R1
constexpr type_info::operator==() - P2440R1
ranges::iota,ranges::shift_left,ranges::shift_right - P2441R2
views::join_with
- P0849R8
Code Search and Navigation
We are continuing to improve the performance, reliability, and accessibility of the All-In-One Search experience (Ctrl+Q for feature search, Ctrl+T for code search). In addition to files and images, previews now work for C++ types and members.
You can enable All-In-One Search: Tools > Manage Preview Features > "New Visual Studio Search experience (restart required)".
Test tools
- Live Unit Testing now provides a button to reset all state. By going to Test > Live Unit Testing > Reset Live Unit Testing state for solution.

- Live Unit Testing now supports Razor files.
Configuration
Today we released the preview of the Visual Studio Administrative Template files (ADMX/ADML). Right now, it's hard for IT admins to discover what all global policies exist for Visual Studio, and it’s equally hard for admins to integrate and manage these policies within commonly used IT Administration infrastructure and tools. The Visual Studio Administrative Template files (ADMX/ADML) enable admins to easily discover, manage and control Visual Studio behaviors that are available to be governed by policy. Please find additional information and provide feedback on this Preview here.
From Developer Community
- Introduce the ability to roll back a Visual Studio Update
- Easily remove all out-of-support components
- Visual Studio Administrator Template (ADMX/ADML) Preview Feedback
- Intellicode Suggestions sometimes makes it impossible to type code (C#)
Visual Studio on Dev Box
- As a Dev Box is not on your local network, you'll need to use a public IP to connect via internet to any Macs on your local network.
- If the Android emulator won't load, ensure Hyper-V is enabled via {insert instructions here}. If the Hyper-V option was not checked off, enable it, then restart the Dev Box before trying to use the emulator.
Known Issues
See all open issues and available workarounds in Visual Studio 2022 by following the below links.
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.