Share via


2022Logo Visual Studio 2022 version 17.2 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


Visual Studio 2022 version 17.2

Support Timeframe

Enterprise and Professional users of Visual Studio 2022 version 17.2 who are configured to receive updates on the 17.2 LTSC channel are supported and will receive fixes to security vulnerabilities through January 2024. For more information about Visual Studio supported baselines, please review the Support Policy for Visual Studio 2022.

Click one of the buttons below to download the most secure release of Visual Studio 2022 version 17.2 from the 17.2 LTSC channel. Additional 17.2 LTSC products can be found on the Visual Studio Subscriptions site.

Download Enterprise Button Download Professional Button

The Visual Studio Community edition is supported only on the Current Channel with the latest servicing release of the latest minor version of Visual Studio.

Visit the Visual Studio site to access links for the most current versions of the Visual Studio 2022 products. For instructions on installing and updating Visual Studio 2022, refer to Update Visual Studio 2022 to the most recent release. The Visual Studio Administrator's Guide contains guidance for how to deploy Visual Studio across your organization.

Visual Studio 2022 version 17.2 Releases

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 Archived Release Notes


17.2.23 Visual Studio 2022 version 17.2.23

released Jan 9th, 2024

Issues Addressed in this release of 17.2.23

  • Updated MinGit to v2.43.0.1 which comes with OpenSSL v3.1.4 and addresses a regression where network operations were really slow under certain circumstances.

Security Advisories Addressed

  • CVE-2024-20656 A vulnerability exists in the VSStandardCollectorService150 service, where local attackers can escalate privileges on hosts where an affected installation of Microsoft Visual Studio is running.
  • CVE-2023-32027 This advisory is republished to address a Microsoft ODBC Driver for SQL Server Remote Code Execution vulnerability in Visual Studio.
  • CVE-2023-32025 This advisory is republished to address a Microsoft ODBC Driver for SQL Server Remote Code Execution vulnerability in Visual Studio.
  • CVE-2023-32026 This advisory is republished to address a Microsoft ODBC Driver for SQL Server Remote Code Execution vulnerability in Visual Studio.
  • CVE-2023-29356 This advisory is republished to address a Microsoft ODBC Driver for SQL Server Remote Code Execution vulnerability in Visual Studio.
  • CVE-2023-32028 This advisory is republished to address a Microsoft SQL OLE DB Remote Code Execution vulnerability in Visual Studio.
  • CVE-2023-29349 This advisory is republished to address a Microsoft ODBC and OLE DB Remote Code Execution vulnerability in Visual Studio.
  • CVE-2024-0057 A security feature bypass vulnerability exists when Microsoft .NET Framework-based applications use X.509 chain building APIs but do not completely validate the X.509 certificate due to a logic flaw.
  • CVE-2024-0056 A vulnerability exists in the Microsoft.Data.SqlClient and System.Data.SqlClient SQL Data provider where an attacker can perform an interception attack (sometimes called a MITM, or man-in-the-middle, attack) between the SQL client and the SQL server.
  • CVE-2024-21319 Microsoft is releasing this security advisory to provide information about a vulnerability in the ASP.NET Core project templates.

17.2.22 Visual Studio 2022 version 17.2.22

released Nov 14th, 2023

Issues Addressed in this release of 17.2.22

Security Advisories Addressed

  • CVE-2023-36038 A vulnerability exists in ASP.NET IIS where a remote unauthenticated user can issue specially crafted requests to a .NET application which may result in denial of service.
  • CVE-2023-36049 An elevation of privilege vulnerability exists in .NET where untrusted URIs provided to System.Net.WebRequest.Create can be used to inject arbitrary commands to backend FTP servers.
  • CVE-2023-36558 A security feature bypass vulnerability exists in ASP.NET where an unauthenticated user is able to bypass validation on blazor server forms which could trigger unintended actions.
  • CVE-2023-36042 A denial of service vulnerability exists in Visual Studio where a malformed decorated name can result in an infinite loop.

17.2.21 Visual Studio 2022 version 17.2.21

released Oct 24th, 2023

Issues Addressed in this release of 17.2.21

Security Advisories Republished

  • CVE-2023-36799 A vulnerability exists in .NET where reading a maliciously crafted X.509 certificate may result in Denial of Service. This issue only affects Linux systems.
  • CVE-2023-36796This security update addresses a vulnerability in DiaSymReader.dll when reading a corrupted PDB file which can lead to Remote Code Execution.
  • CVE-2023-36794This security update addresses a vulnerability in DiaSymReader.dll when reading a corrupted PDB file which can lead to Remote Code Execution.
  • CVE-2023-36793This security update addresses a vulnerability in DiaSymReader.dll when reading a corrupted PDB file which can lead to Remote Code Execution.
  • CVE-2023-36792This security update addresses a vulnerability in DiaSymReader.dll when reading a corrupted PDB file which can lead to Remote Code Execution.

17.2.20 Visual Studio 2022 version 17.2.20

released Oct 10th, 2023

Issues Addressed in this release of 17.2.20

  • MSVC v143 C++ build tools option v14.32-17.2 now install the correct version of app local redistributable binaries.
  • Microsoft is aware of a vulnerability where there is a possibility of SMTP address injection that can happen in the SmtpClient class. This corresponds to CVE-2022-26893 (not a published CVE as the vulnerability is assessed as medium).

Security Advisories Addressed

  • CVE-2023-36435 A memory leak vulnerability exists in MsQuic.dll which may lead to Denial of Service. This issue only affects Windows systems.
  • CVE-2023-38171 A null pointer vulnerability exists in MsQuic.dll which may lead to Denial of Service. This issue only affects Windows systems.
  • CVE-2023-44487 A vulnerability exists in the ASP.NET Core Kestrel web server where a malicious client may flood the server with specially crafted HTTP/2 requests, causing denial of service.

17.2.19 Visual Studio 2022 version 17.2.19

released Sep 12th, 2023

Issues Addressed in this release of 17.2.19

  • Updated version of Git used by Visual Studio to v 2.41.0.3.
  • Microsoft is aware of a vulnerability where there is a possibility of SMTP address injection that can happen in the SmtpClient class. This corresponds to CVE-2022-26893 (not a published CVE as the vulnerability is assessed as medium).

Security Advisories Addressed

  • CVE-2023-36799 A vulnerability exists in .NET where reading a maliciously crafted X.509 certificate may result in Denial of Service. This issue only affects Linux systems.
  • CVE-2023-36796This security update addresses a vulnerability in DiaSymReader.dll when reading a corrupted PDB file which can lead to Remote Code Execution.
  • CVE-2023-36794This security update addresses a vulnerability in DiaSymReader.dll when reading a corrupted PDB file which can lead to Remote Code Execution.
  • CVE-2023-36793This security update addresses a vulnerability in DiaSymReader.dll when reading a corrupted PDB file which can lead to Remote Code Execution.
  • CVE-2023-36792This security update addresses a vulnerability in DiaSymReader.dll when reading a corrupted PDB file which can lead to Remote Code Execution.
  • CVE-2023-36759This security update removes pgodriver.sys, where reading a malicious file can lead to Elevation of Privilege.

17.2.18 Visual Studio 2022 version 17.2.18

released Aug 8th, 2023

Issues Addressed in this release of 17.2.18

  • Microsoft is aware of a vulnerability where there is a possibility of SMTP address injection that can happen in the SmtpClient class. This corresponds to CVE-2022-26893 (not a published CVE as the vulnerability is assessed as medium).
  • Addressed an issue where VSWhere's all switch would not return instances in an un-launchable state.

Security Advisories Addressed

  • CVE-2023-35390 * CVE-2023-35390 A vulnerability exists when some dotnet commands are used in directories with weaker permissions which can result in remote code execution.
  • CVE-2023-38180 A vulnerability exists in Kestrel where, on detecting a potentially malicious client, Kestrel will sometimes fail to disconnect it, resulting in denial of service.
  • CVE-2023-35391 A vulnerability exists in ASP.NET Core 2.1, .NET 7.0 and, .NET 6.0 applications using SignalR when redis backplane use might result in information disclosure.
  • CVE-2023-36897 Visual Studio 2010 Tools for Office Runtime Spoofing Vulnerability This security update addresses a vulnerability where unauthenticated remote attacker can sign VSTO Add-ins deployments without a valid code signing certificate.

17.2.17 Visual Studio 2022 version 17.2.17

released July 11th, 2023

Issues Addressed in this release of 17.2.17

Security Advisories Addressed


17.2.16 Visual Studio 2022 version 17.2.16

released June 13th, 2023

Issues Addressed in this release of 17.2.16

Security Advisories Addressed


17.2.15 Visual Studio 2022 version 17.2.15

released April 11th, 2023

Issues Addressed in this release of 17.2.15

  • Fixes a crash when invalid input is sent to the driver used during PGO training for kernel mode drivers.
  • Fixed an issue in IIS Express that could cause a crash when updating telemetry data.

Developer Community

Security Advisories Addressed


17.2.14 Visual Studio 2022 version 17.2.14

released March 14th, 2023

Issues Addressed in this release of 17.2.14

  • Git 2.39 has renamed the value for credential.helper from "manager-core" to "manager". See https://aka.ms/gcm/rename for more information.
  • Updates to mingit and Git for Windows package to v2.39.2, which addresses CVE-2023-22490

Security Advisories Addressed


17.2.13 Visual Studio 2022 version 17.2.13

released February 14th, 2023

Issues Addressed in this release of 17.2.13

  • Updated CPython interpreter to version 3.9.13.
  • Updated mingit and Git for Windows package to v2.39.1.1, which addresses CVE-2022-41903

Security Advisories Addressed


17.2.12 Visual Studio 2022 version 17.2.12

released January 10th, 2023

Security Advisories Addressed

  • CVE-2023-21538 .NET Denial of Service Vulnerability A denial of service vulnerability exists in .NET 6.0 where a malicious client could cause a stack overflow which may result in a denial of service attack when an attacker sends an invalid request to an exposed endpoint.

17.2.11 Visual Studio 2022 version 17.2.11

released December 13th, 2022

Security Advisories Addressed

  • CVE-2022-41089 Remote Code Execution A remote code execution vulnerability exists in .NET Core 3.1, .NET 6.0, and .NET 7.0, where a malicious actor could cause a user to run arbitrary code as a result of parsing maliciously crafted xps files.

17.2.10 Visual Studio 2022 version 17.2.10

released November 8th, 2022

Security Advisories Addressed


17.2.9 Visual Studio 2022 version 17.2.9

released October 11, 2022

Issues Addressed in this release of 17.2.9

  • Administrators will be able to update the VS Installer on an offline client machine from a layout without updating VS.

Security Advisories Addressed


17.2.8 Visual Studio 2022 version 17.2.8

released September 13, 2022

Issues Addressed in this release of 17.2.8

From Developer Community

Security Advisories Addressed

CVE-2022-38013 .NET Denial of Service Vulnerability A denial of service vulnerability exists in ASP.NET Core 3.1 and .NET 6.0 where a malicious client could cause a stack overflow which may result in a denial of service attack when an attacker sends a customized payload that is parsed during model binding.


17.2.7 Visual Studio 2022 version 17.2.7

released August 9, 2022

Issues Addressed in this release of 17.2.7

  • Updated the side-by-side 16.11 C++ toolset to version 14.29.30146.00
  • Complement fix for Git Error after 17.1.4 update - Visual Studio Feedback, by respecting repos previously marked as safe (instead of overwriting).
  • Updates MinGit to version 2.37.1.1 to address CVE - CVE-2022-29187 (mitre.org), which exposed users to a vulnerability where navigating to a repository they own but that other user can write to could be exploited to run malicious code.
  • Updates Git for Windows to v2.37.1.1 addressing CVE-2022-31012.
  • Fixed an issue where the default terminal profile would start and quickly close. If the issue persists, restoring your profiles to the default set should fix the issue.

From Developer Community

Security Advisories Addressed


17.2.6 Visual Studio 2022 version 17.2.6

released July 12, 2022

Issues Addressed in this release of 17.2.6

  • Removed authorization telemetry that was in some cases causing Visual Studio to show meaningless OS sign-in dialog during launch.
  • Updated LibraryManager to accommodate changes to cdnjs API
  • Fixed an issue that caused intelli-sense to stop working when an F# project was re-opened in the same edit session.

From Developer Community


17.2.5 Visual Studio 2022 version 17.2.5

released June 22, 2022

Issues Addressed in this release of 17.2.5

  • Fixed bug in VC++ Runtime with broken links for MFC OLE Linking/Embedding Containers
  • Fixed an issue where a SxS install of VS2022 and VS2015 (or older) causes VS to fail scanning for extensions.
  • Improved validation of container names when provisioning Azure Container Apps.

From Developer Community

17.2.4 Visual Studio 2022 version 17.2.4

released June 14, 2022

Issues Addressed in this release of 17.2.4

  • Updated the side by side Dev 16.11 C++ Toolset to version 14.29.30145.00. The latest version of the Dev 16.11 C++ Toolset contains important bug fixes, including fixing all remaining C++20 defect reports. For information about bug fixes, including C++20 defect reports in Dev 16.11, please see Visual Studio 2019 version 16.11.14 release notes
  • Fixed a Potential hang the first time a package is loaded (when we apply that package's settings via DTE.Properties) or in other scenarios that use DTE.Properties

From Developer Community

Security Advisories Addressed


17.2.3 Visual Studio 2022 version 17.2.3

released May 31, 2022

Issues Addressed in this release of 17.2.3

  • Adds the Windows SDK (10.0.22621) for Windows 11, version 22H2, as an optional component in the Visual Studio installer.
  • Resolved an issue where clicking "Create a Pull Request" wouldn't open the browser to the hosting provider's create pull request page.
  • Adds a notification when Git detects an unsafe repository and allows marking the repository as safe.

From Developer Community


17.2.2 Visual Studio 2022 version 17.2.2

released May 24, 2022

Issues Addressed in this release of 17.2.2

  • Fixed a crash in the Package and Publish wizard when working with WinUI projects that target the 1.1.0 version of the Windows App SDK.

From Developer Community


17.2.1 Visual Studio 2022 version 17.2.1

released May 17, 2022

Issues Addressed in this release of 17.2.1

  • Fixed false positive C26828 warnings on C++ enum types with overlapping values.
  • Fixed incorrect AddressSanitizer error reporting during scenarios where memory is allocated prior to ASAN initialization.

From Developer Community


What's New in Visual Studio 2022 version 17.2.0

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:

Support Timeframe

Visual Studio 2022 version 17.2 is the second supported long term servicing channel for Visual Studio 2022. Enterprise and Professional customers needing to adopt a long term stable and secure development environment are encouraged to standardize on this version.  As explained in more detail in our lifecycle and support policy, version 17.2 will be supported with fixes and security updates for 18 months through January 2024.

You can acquire the latest most secure version of Visual Studio 2022 version 17.2 in the downloads section of my.visualstudio.com or the Microsoft Catalog. For more information about Visual Studio supported channels, please review the support policy for Visual Studio 2022.

Visual Studio 2022 Archived Release Notes


Installer

  • For 17.2, we fixed an issue preventing customers from installing Visual Studio due to a GPO policy setting in the system registry. Visual Studio will now function the same way that WebView2 functions with regard to this installation.

Editor

  • Visual Studio can now automatically save code documents whenever the application loses focus. This feature can be accessed via Tools > Options > Environment > Document. If the "Autosave" option is checked, Visual Studio will attempt to save all dirty code documents whenever the Visual Studio application loses focus (e.g. when switching to another application in Windows).

C++

  • In 17.1 we introduced peripheral register and rtos views for embedded developers. We are continuing to improve the capabilities of those views with usability improvements in 17.2. Users can now click a pin icon next to peripherals, registers, or fields to pin them the top of the Peripheral View.
  • Added compiler support for C++23 feature deducing this, available under the /std:c++latest flag.
  • Added inline parameter name and type hint support, toggled by pressing Alt+F1 or double-tapping Ctrl. This behavior can be customized under Tools > Options > Text Editors > C/C++ > IntelliSense. Inline parameter name and type hints
  • Added experimental support for C++20 modules in CMake projects. This is currently only available with the Visual Studio (MSBuild) generator.
  • Added IntelliSense support for C++23 features deducing this and if consteval.
  • In 17.1 we introduced peripheral register and RTOS views for embedded developers. We are continuing to improve the capabilities of those views with usability improvements in 17.2:
    • The RTOS tool window is now hidden by default, this prevents showing a tool window with error messages that are not relevant when an RTOS is not being used.
    • When a user double clicks on an RTOS object in the tool window it adds a watch for the object.
    • When a user selects the stack pointer start/end values in the RTOS tool window it is opened in the memory window.
    • Thread awareness has been added for device targets for the call stack window.
  • Added implementaion of the remaining C++20 defect reports (a.k.a. backports). All C++20 features are now available under the /std:c++20 switch. For more information about the implemented backports, please see C++20 Defect Reports project on microsoft/STL GitHub repository and this blogpost
  • Added various C++23 Library featues, available under the /std:c++latest flag. For details about the new features, please refer to the STL Repo changelog
  • Improved performance of the initial C++ indexing by up to 20%, depending on the depth of the include graph.

Git Tooling

  • Enhanced line staging experience by allowing stage line adornment to work in different diff modes (side by side, inline, left, right view).
  • Stage and Undo commands in peek toolbar now operate on the target hunk.
  • Added the ability to enable Git commit-graph for better history and Git operations performance.
  • Improved interactive staging by adding support for staging individual lines of code right from the editor and the diff view.
  • Enhanced the branch checkout experience, a.k.a branch switching by adding in more options and context for when there are un-committed changes.
  • Enhanced the detached HEAD experience by providing the option to keep or discard commits when switching to a branch.
  • Added an option to include license template when creating a new repository.
  • Line-staging support, a.k.a interactive staging with the ability to stage specific lines and/or chunks of code right from the editor and the diff view.
  • Azure DevOps connection detection enhancements making it easier to related work items to commits.
  • Visual Studio now consumes 64-bit Git for Windows.

Test tools

  • You can now use a faster code coverage window with more flexible columns to organize and save your view. You can enable the code coverage experience improvements in Tools > Options > Environment > Preview Features.
  • Remote Testing now supports test runs against remote arm64 windows environments.
  • Significant improvements across full functionality of Live Unit Testing are available under a preview feature flag including:
    • Supporting more solutions out-of-the-box than before
    • Better handling of large solutions
    • Better default behavior working with large test sets
    • Better cancellation abilities of test runs in progress
    • More configuration options with new Live Unit Testing wizard and Lutignore file
    • Enable this new Live Unit Testing build experience in Tools > Options > Environment > Preview Features and read our blog post to learn more.
  • We are also previewing a more advanced test progress bar that includes more details on where the Test Explorer is in the test execution process with live updates.

.NET Productivity

  • We now surface embedded source and Source Link as part of Go to Implementation if a referenced assembly has embedded source or Source Link. This allows you to navigate to the original source files that implement the target symbol.
  • In .NET 7 we added a new attribute called the StringSyntaxAttribute which will allow you to tell us what kind of data a string represents such as JSON, Regex, or DateTime. We added support for this attribute so you will get syntax highlighting for the new StringSyntaxAttribute for JSON.
  • We added a diagnostic message for the new JSON StringSyntaxAttribute when there is a misplaced string literal in an object literal to say that a colon is expected.
  • We now have a refactoring that wraps a collection of initializers for both Visual Basic and C#.
  • We now support embedded languages for the new C# 11 language feature raw string literals. To use raw string literals, set the language version in your project file to preview: <LangVersion>preview</LangVersion>.
  • Background Code Analysis now has more configuration options in Tools > Options allowing you to set the diagnostic scope to None in-order to turn off Background Code Analysis.
  • Code Cleanup now supports all code style options.
  • Quick Info will now display signatures of anonymous delegates.
  • There is a new change in the compiler to not allow parameterless constructors inside of structs. We added a new code fix that will automatically fix this.
  • In .NET 7.0 we added a new attribute called the StringSyntaxAttribute which will allow you to tell us what kind of data a string represents such as JSON, Regex, or DateTime. We added support for this so you will get syntax highlighting in Visual Studio based on the type of data that the string represents.
  • Double clicking on inline parameter or type hints will now insert parameter or type names.
  • We added a new refactoring that removes unnecessary lambda expressions and calls the method group directly. Place your cursor on an unnecessary lambda. Press Ctrl+. to trigger the Quick Actions and Refactorings menu. Select Remove unnecessary lambda expression.
  • In C# 11 we are adding a new language feature called raw string literals. We now have a refactoring to convert a normal or verbatim string literal to a raw string literal. To use raw string literals, set the language version in your project file to preview: <LangVersion>preview</LangVersion>. Place your cursor on a normal or verbatim string. Press Ctrl+. to trigger the Quick Actions and Refactorings menu. Select Convert to raw string. rasstringliterals

Razor (ASP.NET Core) Editor

  • The new Razor editor now shows you the colors inline for text document colors.
  • The new Razor editor now supports the ability to collapse regions.
  • The new Razor editor now supports the “wrap div” shortcut Shift+Alt+W.

IntelliCode

  • For 17.1, IntelliCode started suggesting quick actions for C# based on a user's intent in the IntelliSense list. For 17.2, these are now shown as auto-suggested code that appears in the editor upon typing.
  • For 17.2, IntelliCode's suggestions for repeated edits also appear as auto-suggested code when the suggested edit only involves adding code. This applies to both edits that span single lines and multiple lines.

Container tools

  • You can now add Docker Compose container orchestration support to an Azure Functions project and debug it locally.
  • We added .NET 7 support.

.NET Debugging with WSL

  • Improved troubleshooting for configuration issues including an automated installation of WSL.

Service Fabric

  • We added .NET 7 support.

SQL Server Data Tools

Web Tools

  • Creation of new Azure Function projects is now fully integrated into the general New Project dialog allowing you to pick and configure Azure Function triggers without the need for an additional dialog. You also get the option to create a dockerfile as part of the project creation. When further configuration through Connected Services is needed, the experience navigates you there and guides you through the rest of the steps.
  • You can now connect your application to PostgreSQL (Postgres - Official Image | Docker Hub), MongoDB (Mongo - Official Image | Docker Hub) and SQLite (Data Source=Sqllite.db) through the Connected Services experience
  • Warnings coming from scaffolded coded and its non-nullable properties will be hidden by default by adding the property "Nullable" with the value "annotions" in the corresponding .csproj file.
  • The Add Dependency dialog in Connected Services now features a search experience.

General

  • Improved proxy support by detecting when users are behind a proxy and proactively prompting for credentials when Visual Studio needs to access online resources

Microsoft Teams development tools

  • The Microsoft Teams App project template has been improved and now creates configuration files consistent with the teamsfx CLI, including the .fx folder.
    • We recommend creating a new project using the updated template for any existing Teams Apps you've created with previous versions of the Teams Toolkit.
  • We've removed account selection and automatic registration of Teams resources from the Microsoft Teams App project template.
    • You can now choose when to sign-in with your M365 identity and register app resources using the Project > Teams Toolkit > Configure Microsoft Teams App menu option.
    • Updates to the manifest.*.template.json files can be synchronized with Teams Developer Portal by selecting this menu item again at any time.
  • You can now create and debug Bots for Microsoft Teams.
    • Create a new project using the Microsoft Teams App project template and select the Bot capability.
    • Use the Project > Teams Toolkit > Configure Microsoft Teams app menu to register the app and Bot.
  • You can now create resources for Tabs and Bots in your Azure subscription.
    • Use the Project > Teams Toolkit > Provision in the Cloud menu to create resources in a subscription.
    • Use the Project > Teams Toolkit > Deploy to the Cloud menu to publish code to those resources.
  • You can open remotely hosted resources in a browser that are created from the Provision menu using the Preview Teams app menu.

Debugging & Diagnostics Debugging & Diagnostics

  • We now support a new data visualizer to evaluate the IEnumerable<T> interface implementations.
  • IEnumerable visualizer will help explore larger collections objects in tabular view.
  • We added support for Dependent Tracepoint.
  • Now you can set any breakpoint dependent on the tracepoint and vice versa.
  • If the breakpoint is dependent on tracepoint it hits only after the tracepoint is hit. (i.e., after the trace/log message is printed in the output window)

Debugging & Diagnostics

  • IEnumerable visualizer will help explore larger collections objects in a more streamlined way in the tabular/ data grid view.It supports IEnumerable<T> collections where T can be simple types or complex types like dictionaries, encapsulated.

iEnumerablevisualizer

  • Whenever you have an IEnumerable code implementation, you will see a magnifying glass icon in the Value column of the Locals/ Watch window.You will also see the icon when you hover over a variable. Click the Icon, and you can access the IEnumerable visualizer.

  • You can use Hide columns to Hide duplicate data or expand columns to see more profound items in the complex data. Finally, you can Hide Childrens to get a more concise view of your data.

HideChildrens

Issues Addressed in 17.2

  • Fixed an issue where Account picker under "Azure Service Authentication" is broken and causes a restart of VS, and people using languages other than English were unable to pick a different account/add a new one for Azure Service Authentication.
  • This version of Visual Studio includes Win App SDK 1.0.3 see Windows App SDK release channels - Windows apps | Microsoft Docs for more details.
  • Fixed an issue where Solutions containing WiX projects crash on open.
  • Fixed an issue where Tooltips are not displayed properly on Daytona controls.
  • Updated the webview2 baseline in Daytona.
  • Fixed an issue where "Sync branch" would fail in the scenario where "local and remote branches have diverged" and "pull.rebase was unset".
  • Fixed issue where user building native C++ app targeting Android platform encounters build errors if workload "Mobile Development with .NET" is also installed.
  • Fixed a UI delay after Windows Forms .NET project load or build when Toolbox has not yet initialized.
  • Fixed missing bitwise enum warnings for some inputs.
  • Selecting "Load All Symbols" in the CPU Tool no longer causes blank lines to show in analysis.
  • IntelliSense is no longer extremely slow (taking almost a minute to respond) on a pattern used in the Vulkan SDK's C++ headers.
  • Addressed an issue that could pop up "CMake Integration" dialog and lead to CMake stop working after saving changes to your CMakeLists.txt.
  • Improved performance of build configuration switching with CMake projects
  • Improved performance when editing large Razor source files.
  • Fixed an issue in the CPU Usage Tool views where text was clipped by blue usage bars
  • Removed an incorrect message stating there are no top insights in the CPU Usage tool even when there are top insights.
  • Fixed a bug where "No insights found" message in CPU Usage tool was not properly localized
  • Fixed an issue preventing some customers from installing Visual Studio due to a GPO policy setting in the system registry. Visual Studio will now function the same way that WebView2 functions with regard to this installation.
  • Fixed issue ‘Unable to install any extension (vsix) for Visual Studio on an offline machine'.
  • Fixed the MonoToolchain and emsdk workload installation manifest.

From Developer Community


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