Visual Studio 2022 version 17.7 Preview Release Notes
Tip
Coming soon: Get early access to the latest AI driven features with GitHub Copilot for Visual Studio. Dive into comprehensive code interpretations, generate unit tests, and discover solutions to fix bugs. Sign up!
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.7 Preview Releases
Summary of What's New in this Release of Visual Studio 2022 version 17.7 Preview
- June 13 2023 — Visual Studio 2022 version 17.7 Preview 2
- May 16 2023 — Visual Studio 2022 version 17.7 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.7 Preview 2
released June 13th, 2023
Summary of What's New in this Release of Visual Studio 2022 version 17.7 Preview 2
Developer Community Highlights
- Allow Visual Studio to install without admin rights 93 votes
- Cannot import anymore tables into edmx. "Running transformation: System.NullReferenceException: Object reference not set to an instance of an object." 46 votes
- Selection in Batch Build was not remembered after restart 41 votes
- Call stack and other windows not rendering correctly 21 votes
- SignTool Error: The /p option requires the /f option 12 votes
- In MAUI,Can't Use F7 To Xaml and Use Shift+ F7 To CS 10 votes
Developer Community Suggestions: You asked, we listened!
- Enhanced File Comparisons 525 votes
- Create Pull Requests 244 votes
- Enhanced Multi-branch Graph 153 votes
- Ability for standard users to update & modify Visual Studio 91 votes
- Auto-decompilation for External .NET Code 21 votes
Modern C++ and game development:
C++
- Thanks to your feedback, we are happy to announce that Build Insights is now integrated with Visual Studio 2022! Build Insights provides you with valuable information needed when optimizing your C++ build times. Start your Build Insights .etl trace capture with the click of a button for your solution or projects. After compilation, Build Insights will create a diagnostic report that allows you to see expensive includes and navigate directly to header files. For power users, you can open Windows Performance Analyzer from within the report.
- You can now search for references of
UFUNCTIONs in Unreal Engine Blueprints with the new Blueprint Find All References. The Unreal Engine plugin "Visual Studio Integration Tool" is required. - One-click downloads of WSL are now available with the Linux and Embedded Workload. When you open a CMake project that can target Linux, a gold bar will open for you to click and open a WSL installation process. By default, it will install an Ubuntu machine.
- The Connection Manager API is now publicly exposed for programmaticaly managing your connections.
- We have added a search capability to the Remote File Explorer. You are now able to search for files based on where you are in your remote machine along the top bar, and then right-click to go to any found file’s location. Additionally, we have added two new buttons to the toolbar to improve the Remote File Explorer experience, one to go to the home directory and one to open tools options.

- You can now use the Visualize Expansion option on macros to view the expansion of nested macros step-by-step.

- Previously, when a specific function had a Doxygen comment, it did not appear in the Quick Info for each overload except for the one immediately following the comment. We now allow the documentation from another overload to be displayed in the Quick Info for all associated overloads.

.Net and Cloud development:
Debugging & Diagnostics
Autodecompilation for External .NET Code
The Visual Studio Debugger supports Autodecompilation for external .NET code. Whenever you step into code that has been implemented externally, the debugger will automatically decompile it and display the point of execution.
This feature is particularly useful when analyzing call stacks, as you can double-click any stack frame and the debugger will navigate directly to the code. Additionally, you can debug the decompiled code and set breakpoints easily. All of the decompiled code is also shown under the External Sources node in Solution Explorer, make it easy to browse through the external files if needed.
If you wish to disable the automatic decompilation of external code, simply clear the "Automatically decompile to source when needed (managed only)" option under Tools > Options > Debugging.

New Auto Insights for CPU Usage tool
The CPU usage tool now provides additional insights and details for scenarios involving certain methods and properties, such as Enum.HasFlag, Enum.ToString, String.StartsWith, String(char[]), ConcurrentDictionary.Count, ConcurrentDictionary.Keys/Values, and DateTime.Now.
Additionally, there is now an 'Ask Copilot' option that uses the Copilot chat extension. When triggered, Copilot chat will explain why the issue occurred and suggest a fix.

Parallel Stacks Filter
The Parallel Stack Window now supports filtering options. With filtering, you can easily focus on just the frames and threads that matter to you, so you can achieve greater clarity and get more done in less time. In additional to filtering we have now added the ability to Drag Select frames from the parallel stack window. So now you can easily perform operations like copy/paste, flag/unflag or freeze/thaw for all the selected frames at once.

F#
- Added support for the new interpolated strings syntax with multiple dollar signs (details and RFC):

Introduced tooltips for inline hints:
- Type hints:

- Parameter name hints:

- Type hints:
Fixed parameter name hints for nested function calls (#15156) and custom operations (#15119)
Fixed return type hints for cases where annotations are present alongside generic or type parameters (#15124)
Productivity:
Git Tooling Improvements
Create a Pull Request
You can now create a Pull Request, completing the entire inner workflow, in Visual Studio. Enter the New Pull Request window by clicking the link in the notification banner after pushing, or from the top-level menu via Git > GitHub/Azure DevOps > New Pull Request.

We plan to continue making updates to improve this Pull Request experience, so please share your feedback about this feature here.
Updates to Multi-branch Graph
Building on the work from 17.7 preview 1, the multi-branch graph has a variety of UI improvements to improve readability and provide more ease interacting with multiple branches.

Continue to share your feedback on this feature here
GitHub Actions Tooling Improvements
Create new GitHub Actions workflow
You can now create new GitHub Actions workflows from Solution Explorer. It supports Azure Container Apps and Azure Kubernetes Service as destinations, and it supports deploying multiple projects with a single workflow. When your project is under source control on GitHub.com, a new node appears in Solution Explorer representing GitHub Actions (if you are not seeing the new node, make sure "Show GitHub Actions in Solution Explorer" is checked under Tools > Options > Preview Features). Right-click and select "Create new" to try out the new experience.

Support for Serverless SQL Pool in SSDT
We are providing the capability of importing a database from Serverless SQL Pool into SSDT. It can be done by the same process by which a regular database is imported.

Users will also be able to publish a whole new project in the Serverless SQL Pool. The target platform needs to be set as SQL Serverless

Regular SSDT operations like Schema Compare, Data Compare, Addition of external tables can be performed on these tables.
Enterprise Management:
The two new features below can help enterprises establish a clean separation of responsibilities. The Administrator can set user access permissions and prepare client machines within their organization to better control what the end user is allowed to execute. The end users, assuming they’ve been given the appropriate controls, will have the ability and can be responsible for installing from the Available tab, modifying, and updating Visual Studio.
Ability for standard users to update and modify Visual Studio
Non-admin users with standard permissions will now be able to execute Visual Studio installer functionality.
To enable this functionality, an administrator will need to perform two simple actions on the client machine: install the latest 17.7 installer, and set the new global policy.
- The easiest way to acquire the 17.7 Preview 2 installer on the client machine is to install 17.7 Preview 2. If you don’t want to install the whole Preview product, you can cancel the Preview setup after the installer update has finished installing.
- Set the global policy 'AllowStandardUserControl' REG_DWORD.
- A value of 1 enables just update and rollback.
- A value of 2 enables all installer functionality, including modify and install from Available tab.
Many users have requested this capability and we hope that our solution meets your needs. Please try it out and let us know what you think, particularly if there still any problems with this scenario.
Ability for administrators to add private layouts to the Installer's Available tab
Enterprises will now be able to make their own custom network layouts available on the Installer’s Available tab by adding custom chanels to the client’s registry.
Visual Studio 2022 version 17.7 Preview 1
released May 16th, 2023
Summary of What's New in this Release of Visual Studio 2022 version 17.7 Preview 1
Developer Community Highlights
- Visual Studio 2022 Find And Replace - Find in Files - not finding text which is in a file 89 votes
- .vs folder grows unexpectedly large 32 votes
- Clicking pinned tab drags window out and unpin 9 Votes
- MSVC compiler hangs on user defined operator overload 8 votes
- HLSL Tools will crash Visual Studio when viewing shader files in Unreal Engine and the virtual file mapping has been provided 7 votes
Modern C++ and game development:
C++
- With the Unreal Engine Naming Convention checker, Visual Studio will now give you hints when your symbols are not conformant to the Unreal Engine coding style. After adding an .editorconfig file to your Unreal Engine project, Visual Studio will display naming convention warnings in the Error List and provide a Quick Fix option upon right-clicking. For more information, please visit Unreal Engine Naming Convention Checker.

- Available as a preview feature, Visual Studio will detect and follow indentation and formatting rules for your Unreal Engine reflection macros. To turn on Unreal Engine specific formatting, search "Unreal Engine" in Options or go to Tools -> Options -> Text Editor -> C/C++ -> Code Style -> Formatting -> Unreal Engine and check "Apply special formatting for Slate declarative syntax and Unreal Engine reflection macros."

- Added support for CMakePresets.json version 6. See the CMake documentation for details on what is available in this version.
- Upgraded the version of LLVM shipped with Visual Studio to version 16. See the LLVM and Clang release notes for what is available in this version.
- Added new intrinsics for overflow detection, such as
_add_overflow_i32.
Productivity:
Code Search and Navigation
We’ve tackled known issues regarding accuracy and performance, including:
- Exact matches (e.g., exact file name matches) should be prioritized higher in the list.
- Results list for previous search should not show up for new search query.
- Results with the same name across different languages should be shown in the results list.
- Results list should accurately update as you type.
Learn more at https://aka.ms/all-in-one-search-blog.
You can enable All-In-One Search: Tools > Manage Preview Features > "New Visual Studio Search experience (restart required)".

Multi-Branch Graph and Git Repository Improvements
We've implemented the first version of this suggestion, to enable visualizing multiple branches in the same graph along with other UI improvements. Leave us feedback, here.

You can select other branches to compare to the currently checked out branch or use the hover eye icon to toggle branches on and off in the graph, keeping track of your incoming and outgoing branches on the currently checked out branch with the new summary icons. Additionally, you can se avatars for the authors in Azure DevOps repos, get smoother graph rendering updates, and maximize your space by collapsing the branches panel or opening your commit details.

Compare Files
In response to this highly upvoted ticket in Developer Community, you can now compare files in Solution Explorer. Let us know what you think in this survey.

Copy and Trim Indentation
When you copy code from Visual Studio to another program (Outlook, Teams, Slack, etc), Visual Studio will now automatically fix the indentation for you.
Microsoft Teams development tools (Teams Toolkit)
We further improved the preview experience from 17.6 Preview, including:
- Now you can use VS native dev tunneling feature to create tunneling service for Teams app. NgRok is no long the only way to create tunnel for Teams projects.
- Support to get a paginated list of targets where the bot is installed in notification bot.
- Support to get a paginated list of members of one-on-one, group, or team conversation in notification bot. - Several bug fix and UI improvements to ensure better user experience on Teams Toolkit.
.Net and Cloud development:
IntelliTest Support for .NET6 and NetStandard
Now available in Preview, once enabled, the editor context menu “Intellitest (Preview)” will be enabled in net6 and netstandard code files.
Create Project will create a compatible test framework project into which generated tests can be saved and subsequently run using Test Explorer or through the CLI. This will create stubs of methods, but not actually probe your code to create asserts. This can be useful by itself to create a lattice into which you would inject your own code, but typically it’s a placeholder and provides a preview of all the methods supported in your code file. It’s not necessary to create a project before generating tests.
Generate Tests can be run for a single method or an entire class. This process will build and probe the target assembly. The Z3 Solver leverages symbolic execution to recommend testing parameters. Subsequently test code is emitted and profiled to capture and retain all test cases that increase coverage of the target code. The test set is continually deduped to retain parameters that maximize coverage and minimize repetition. The Intellitest results window displays probing status and the list of tests created with inputs, outputs, and assertion results. These tests can be saved to the created projects or to new projects as desired. Saving test provides the choice of an existing project or creating a new project into which the tests are saved.
Learn more at https://learn.microsoft.com/visualstudio/test/intellitest-manual.
You can enable IntelliTest Support for .NET6 and NetStandard: Tools > Manage Preview Features > "IntelliTest support for NetFx and Net6 using Z3 v4 (restart required)"

F#
- Added inline return type hints:

Since they are in preview and disabled by default. Enable them via Tools -> Options -> Text Editor -> F# -> Advanced -> Display return type hints
- Added new bulk code fixes:

See the full list of these code fixes in #15082
- Resolved an issue with parameter name hints crashing when using multi-line arguments
- Added an option to customize Quick Info description width: Tools -> Options -> Text Editor -> F# -> QuickInfo -> Preferred description width in characters. See more details in #14964
- Incorporated activity log into the output pane (for more information, refer to #15028)
- Fixed bulk code fix for removing unused opens
- Improved the speed of Quick Info link navigation
Known Issues
- Adding item templates (like command and tool window) to a Visual Studio Extension (VSIX) project does not work. To work around this, use a regular C# class template instead and copy/paste sample code from VSSDK.
- If your Help Preferences are set to “Launch in Help Viewer” then the Help Viewer will not work on 17.7 Preview 2. As a workaround, please set your help preference to “Launch in Browser” (Help > Set Help Preference > Launch in Browser).
- Add New Item is not creating file on disk in OpenFolder or CMake
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.