PreviewLogo 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.

Download Community Button Download Professional Button Download Enterprise Button

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.

Download Community Preview Button Download Professional Preview Button Download Enterprise Preview Button


Visual Studio 2022 version 17.4 Preview Releases

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:

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.


17.4.0-pre.2.1 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.

17.4.0-pre.2.0 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#

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 /Yu and 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 /FI headers 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(), and ranges::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
    • P2302 ranges::contains, ranges::contains_subrange
    • P2499 string_view Range Constructor Should Be explicit

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.

Inline Rename

  • 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.

Disable 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.

DataTable visualizer


17.4.0-pre.1.0 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.  

RollbackComp

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. 

RollbackHow

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

RollbackWarning

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 with Preview 2. For additional details on the Preview, please visit the RemoveOos preview details and feedback page.

Git Tooling

  • Improved multi-repository experience includes configurable settings per repository, open folder, and improved interface for network operations like Fetch, Pull, Push, and Sync

  • Enhanced GitHub and ADO integration, allowing you to query and reference GitHub Issues and ADO Work Items from your commits within Visual Studio

Reference GitHub Issues from in your commits

.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.

Document Outline

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

Tooltips for local function arguments

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 activate will be run in the background if a vcpkg-configuration.json file 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-copy In 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 pmr Alias For std::stacktrace
    • P1328R1 constexpr type_info::operator==()
    • P2440R1 ranges::iota, ranges::shift_left, ranges::shift_right
    • P2441R2 views::join_with

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 Reset State
  • 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


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 Feedback Icon 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.


Top of Page