This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Download Microsoft Edge
More info about Internet Explorer and Microsoft Edge
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.8 Preview Releases
Aug 8 2023 —
Visual Studio 2022 version 17.8 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.8 Preview 1
released Aug 8th, 2023
Summary of What's New in this Release of Visual Studio 2022 version 17.8 Preview 1
Productivity Features
Features
Community Suggestions
Blank Solution project template missing
33 Votes
QuickFind selection lost / not respected. Keyboard shortcuts lost.
20 Votes
Visual studio ASAN throws critical error when fetching clipboard data
11 Votes
VS 2022 Watch window and breakpoints fail to evaluate expressions involving C++/CX hat (^) pointers
5 Votes
C++ IntelliSense for std::ranges::iota_view<size_t, size_t> error
5 Votes
ARM64 memchr implementation may not be standard conformant
Standalone React TypeScript project template fails with part of path not found
Csproj Editor does not open due to AndroidPackageFormat
Productivity Features:
Add Reviewers to your Pull Request
You can now add your reviewers to your pull requests in Visual Studio for both Azure DevOps and GitHub.
Try this out by clicking on the "Create a Pull Request" link that appears on push, or by selecting Git > GitHub or Azure DevOps > New Pull Request from the top level menu. Then, navigate to the Reviewers section and search for the reviewers you'd like to add.
We plan to continue making updates to improve this Pull Request experience, so please share your feedback about this feature
here
and engage with us on the
suggestion ticket
in Developer Community.
Summary Diff
As a continuation of our efforts to improve the diffing experience in Visual Studio, we've implemented the Summary view in the diff and compare views. This new option allows you to see only the changes in the file with a few lines of context, making reviewing your changes in a commit or the comparison between two files much more efficient.
Let us know what you think of this feature by sharing your feedback
here
and engage with us on the
suggestion ticket in Developer Community
.
Multi-Repo Limit Increase
As more of you are using our Multi-repository features, many needed the number of active repositories to be more than 10. You can now work with up to 25 repositories at once in your solution.
Case Preserving Find and Replace
When you do a Replace, you can now preserve the original casing of each match in your code. Note that to get Pascal case and Camel case, your Replace string must be in Pascal case or Camel case.
Toggle case preservation in the Replace window with
Alt+V
or by clicking on the
Preserve case
option.
Quick Replace (
Ctrl+H
):
Replace in Files (
Ctrl+Shift+H
):
Share your thoughts on the case preserving replace experience on this Developer Community ticket:
Case-Preserving Search & Replace Across Multiple Files
.
C++ and game development:
Unreal Engine Snippets
Start typing in the editor window and UE snippets will start showing as a member list item in your Unreal Engine projects. Press tab or enter to create the snippet.
Supported snippets include (UClass, UClassExported, UENUM, UFUNCTION, UINTERFACE, UINTERFACEExported, UPROPERTY, USTRUCT, USTRUCTExported, UELOG, SWidget, TActorRange, TObjectRange, WITH_EDITOR)
Unreal Engine Test Adapter
You can now create, manage, and run your Unreal Engine tests from within Visual Studio. To ensure Unreal Engine Test Adapter is enabled properly, double check that "Unreal Engine Test Adapter" is selected in the Visual Studio Installer under the "Game development with C++" workload. After installing the UE Test Adapter, your Unreal Engine tests will automatically show up in the Test Explorer when you open Visual Studio.
The latest version of our Unreal Engine plugin from the UE
marketplace
or
GitHub
is required.
Build Insights Functions View
We added a "Functions View" to Build Insights integration. Build Insights' generated diagnostic report will now show you function generation time as well as ForceInlines.
Make member function const hints
This feature suggests making a member function const if it logically should not modify the object's state. One of the advantages of utilizing const member functions is the enhanced safety and predictability they bring to the codebase. By clearly distinguishing between functions that modify the object's state and those that do not, it becomes easier to reason about the behavior of different member functions.
By hovering over a member function and clicking the light bulb icon, you can quickly access suggestions to mark the function as const.
By default, this feature is set as a suggestion, indicated by three dots below the function. To configure the setting, navigate to Tools > Options > Text Editor > C/C++ > Code Style > Linter.
Size and Alignment Hints
You can now hover over a class, struct, union, or enum to see the size and alignment of that type.
Debugging and Diagnostics
You now have convenient access to the .NET Counter through the diagnostics window by choosing the ".NET Counters" selection from the "Select Tool" dropdown menu.
Even while conducting debugging sessions, you can utilize the capabilities of .NET Counters to oversee and assess crucial performance metrics.
Code Action for Event Handler Method Generation
If you’re using an event like
@onclick
or
@onactivate
to reference a C# method that hasn’t been defined yet, you can use a new Razor code action to automatically generate that event handler method. This code action also supports custom event arguments.
Background Color for C# Code
You now have the option to add a background color for C# code located within Razor files. Turned off by default, enable this option by going to Tools > Options > Text Editor > Razor > Advanced and setting Background for C# Code to True.
JavaScript and TypeScript Development
New React TypeScript and ASP.NET Combined Templates
When we initially released the JavaScript/TypeScript with ASP.NET Combined Templates in this
blog post
, we got feedback that users deserve a better React TypeScript project creation experience. This new React TypeScript with ASP.NET combined template gets the tsconfig and SpaProxy set up out of the box.
Testing
New IntelliTest now in Preview
IntelliTest explores your .NET code to generate test suites with high code coverage, powered by the latest version of the Z3 problem solver. When you Generate Tests, you have the ability to select which tests you’d like to preserve into a test project that can serve as your regression suite. As your code is updated, you can rerun IntelliTest to keep the generated tests in sync with your code.
Previous implementations of this Enterprise Edition feature only supported code targeting .NET Framework and did not support x64 configuration. This updated version includes the following:
Add IntelliTest support for .NET Core/Standard - Developer Community (visualstudio.com)
Add IntelliTest support for x64 - Developer Community (visualstudio.com)
Ennable this feature through Tools > Manage Preview Features and selecting IntelliTest support for NetFx and Net6 using Z3 v4 (requires restart).
Then in your code, right click within a method and select IntelliTest (Preview) and either Create Project to create a project where your tests can be saved or Generate Tests to generate a set of tests to review and decide which ones to keep.
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.
Developer Tools Blogs
Top of Page