共用方式為


What's new in Visual Studio 2022

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Updated for the 17.1 release. See full release notes | View product roadmap

With Visual Studio 2022, you'll always get the best-in-class tools and services available for any developer, any app, and any platform. Whether you're using Visual Studio for the first time or you've been using it for years, there's a lot to like in our newest version!

Tip

For more news + how-to's, check out our Visual Studio 2022 channels on YouTube, Twitch, Twitter, and TikTok.

Performance improvements

Visual Studio 2022 is faster, more approachable, more lightweight, and is designed for both learners and those building industrial scale solutions.

Visual Studio 2022 is 64-bit

Visual Studio 2022 on Windows is now a 64-bit application. This means you can open, edit, run, and debug even the biggest and most complex solutions without running out of memory. To learn more, see both the Visual Studio 2022 vision and Visual Studio 2022 17.0 Preview blog posts.

Find in Files is faster

In Visual Studio 2022, we focused on improving the performance of several key features. For example, Find in Files is now as much as 3x faster when searching large solutions such as Orchard Core.

Animation of the Find in Files feature as it searches a large C# solution three times faster than the previous version of Visual Studio.

Note

New in 17.1: With new indexed searching, Find in Files is even faster! For more information, see the Code search in Visual Studio 2022 is about to get much faster blog post.

Build modern apps

Visual Studio 2022 makes it quick and easy to build modern, cloud-based applications with Azure. As well, our new version also has full support for .NET 6 and its unified framework for web, client, and mobile apps for both Windows and Mac developers. And, Visual Studio 2022 includes robust support for the C++ workload with new productivity features, C++20 tooling, and IntelliSense.

Better dev tools for C++ and .NET, and Hot Reload

Visual Studio 2022 includes better cross-platform app development tools and the latest version of C++ build tools, to include C++20 support.

As well, we're updating Hot Reload so that you can edit either C++ or .NET projects while your application is running. For more information, see the Speed up your .NET and C++ development with Hot Reload in Visual Studio 2022 blog post, and the Write and debug running code with Hot Reload in Visual Studio with C#, C++, or Visual Basic Docs page.

Updates for Blazor & Razor editors + Hot Reload for ASP.NET

Visual Studio 2022 includes a big update for the Blazor and Razor editors, and new capabilities for Hot Reload in ASP.NET Core—including Hot Reload when you save a file or when you apply changes to CSS files live!

Animation of Hot Reload in Razor and Blazor apps, and in CSS files live.

Innovation at your fingertips

From real-time & asynchronous collaboration tools to improved insights and productivity tools that seamlessly integrate with your daily workflow, Visual Studio 2022 has this and more.

Multi-repo support with Git in the IDE

If you've worked with projects hosted on different Git repositories, you might have used external tools or multiple instances of Visual Studio to connect to them. In Visual Studio 2022, you can work with a single solution that has projects in multiple repositories and contribute to them all from a single instance of Visual Studio. To learn more, see the Multi-repo support in Visual Studio blog post.

Note

New in 17.1: We're continuing to add even more functionality to the Git feature set. For the latest info, see the Introducing new Git features to Visual Studio 2022 blog post.

IntelliCode improvements

Designing for everyone

We’re refreshing the user interface to better keep you in your flow. Some of the changes include cosmetic touches that modernize the UI or reduce crowding.

Look & feel

From new iconography to subtle color contrast ratio adjustments and a new Cascadia Code font, we're working to make Visual Studio 2022 more accessible for everyone. For all the details, see the We’ve upgraded the UI in Visual Studio 2022 blog post.

Screenshot of the contrast between previous and refreshed icons in Visual Studio.

Personalization

One of our key focus areas is to make Visual Studio more personalized and flexible so that you can make the IDE your own. For example, Visual Studio 2022 offers you the ability to sync with your Windows theme. So, if you've enabled the "night light" feature there, Visual Studio uses it, too. For more info, see the Personalize your Visual Studio 2022 blog post.

What's next

Want to know more about what we're planning for Visual Studio 2022? See the Roadmap page and the Visual Studio 2022 17.2 Preview release notes for details.

Give us feedback

Why send feedback to the Visual Studio team? Because we take customer feedback seriously. It drives much of what we do.

  • If you want to make a suggestion about how we can improve Visual Studio, you can do so by using the Suggest a Feature tool.

  • If you experience an issue where Visual Studio stops responding, crashes, or other performance issues, you can easily share repro steps and supporting files with us by using the Report a Problem tool.

See also