Visual Studio 2022

Amanda

Update: Visual Studio 2022 is now available. Download it, try it out, and join us in shaping the next major release of Visual Studio.

 

All of our product development begins and ends with you—whether you posted on Developer Community, filled out a survey, sent us feedback, or took part in a customer study, thank you for helping to continue to steer the product roadmap for Visual Studio. I have exciting news—the first public preview of Visual Studio 2022 will be released this summer.

The next major release of Visual Studio will be faster, more approachable, and more lightweight, designed for both learners and those building industrial scale solutions. For the first time ever, Visual Studio will be 64-bit. The user experience will feel cleaner, intelligent, and action oriented.

Development teams have become more geographically dispersed than ever. It’s become apparent over the last year that organizations need their development teams to collaborate securely, deliver solutions more quickly, and continuously improve their end-user satisfaction and value. We’re making it easier to collaborate with better GitHub integration making it seamless to go from idea to code to the cloud.

Visual Studio 2022 is 64-bit

Visual Studio 2022 will be a 64-bit application, no longer limited to ~4gb of memory in the main devenv.exe process. With a 64-bit Visual Studio on Windows, you can open, edit, run, and debug even the biggest and most complex solutions without running out of memory.

While Visual Studio is going 64-bit, this doesn’t change the types or bitness of the applications you build with Visual Studio. Visual Studio will continue to be a great tool for building 32-bit apps.

I find it really satisfying to watch this video of Visual Studio scaling up to use the additional memory that’s available to a 64-bit process as it opens a solution with 1,600 projects and ~300k files. Here’s to no more out-of-memory exceptions. 🎉

64-bit VS opening 1600 projects

We’re also working on making every part of your workflow faster and more efficient, from loading solutions to F5 debugging.

Designing for everyone

We’re refreshing the user interface to better keep you in your flow. Some of the changes are subtle cosmetic touches that modernize the UI or reduce crowding. Overall, we aim to reduce complexity and decrease the cognitive load so that you can focus and stay in the zone. Also, making Visual Studio more accessible delivers better usability for everyone – the next version of Visual Studio will include:

  • Updated icons for better clarity, legibility, and contrast.
  • Cascadia Code, a new fixed-width font for better readability and ligature support. (If you like, you can try Cascadia Code today! https://aka.ms/CascadiaCode)
  • Refreshed and improved product themes.
  • Integration with Accessibility Insights to detect accessibility issues early on—before they get to your end-users.

Visual Studio 2022 icon refresh

Personalization

Developer to developer, we understand that personalizing your IDE is as important as picking your desk chair. We have to make it “just right” before we can be at our most productive. It will be easier than ever to make Visual Studio 2022 “just right” for you, from the ability to customize aspects of the IDE to syncing settings across devices for those who maintain multiple dev boxes.

Developing modern apps

Azure

Visual Studio 2022 will make it quick and easy to build modern, cloud-based applications with Azure. We’ll get you started with a good supply of repositories that describe common patterns used in today’s apps. These repositories are made up of opinionated code showing these patterns in action, infrastructure-as-code assets to provision the Azure resources, and pre-built GitHub workflows and actions setting you up with a complete CI/CD solution when you first create a project. Plus, the required development environment will be defined in the repository so that you can start coding and debugging right away.

.NET

Visual Studio 2022 will have full support for .NET 6 and its unified framework for web, client, and mobile apps for both Windows and Mac developers. That includes the .NET Multi-platform App UI (.NET MAUI) for cross-platform client apps on Windows, Android, macOS, and iOS. You can also use ASP.NET Blazor web technologies to write desktop apps via .NET MAUI.

.NET MAUI app types

And for most app types like web, desktop, and mobile, you’ll be able to use .NET Hot Reload to apply code changes without needing to restart or lose the app state.

.NET Hot Reload in action

C++

Visual Studio 2022 will include robust support for the C++ workload with new productivity features, C++20 tooling, and IntelliSense. New C++20 language features will simplify managing large codebases and improved diagnostics will make the tough problems easier to debug with templates and concepts.

We’re also integrating support for CMake, Linux, and WSL to make it easier for you to create, edit, build, and debug cross-platform apps. If you want to upgrade to Visual Studio 2022 but are worried about compatibility, binary compatibility with the C++ runtime will make it painless.

Innovation at your fingertips

Diagnostics and debugging

The ability to confidently debug your applications is at the center of your daily workflow. Visual Studio 2022 will include performance improvements in the core debugger, with additional features like flame charts in the profiler for better spotting the hot paths, dependent breakpoints for more precise debugging, and integrated decompilation experiences which will allow you to step through code you don’t have locally.

Real-time collaboration

Live Share opens new opportunities for collaborating with others, exchanging ideas, pair programming, and reviewing code. In Visual Studio 2022, Live Share will introduce integrated text chat so that you can have quick conversations about your code without any context switches. You’ll have options to schedule recurring sessions that reuse the same link, simplifying collaboration with your frequent contacts. To better support Live Share within organizations, we’ll also introduce session polices, that define any compliance requirements for collaboration (e.g. should read/write terminals be shareable?).

Insights and productivity

The AI IntelliCode engine in Visual Studio continues to get better at seamlessly anticipating your next move. Visual Studio 2022 will provide more and deeper integrations into your daily workflows, helping you to take the right action in the right place at the right time.

Whole word completion

Asynchronous collaboration

Visual Studio 2022 will include powerful new support for Git and GitHub. Committing code, sending pull requests, and merging branches is when “my code becomes our code.” You’ll notice a lot of built-in logic and checkpoints to guide you efficiently through the merge and review process, anticipating feedback from your colleagues that could slow things down. Our guiding principle here was helping you to have higher confidence in the code you deliver.

Code search is an integral part of the software development lifecycle. Developers use code search for lots of reasons: learning from others, sharing code, assessing the impact of changes while refactoring, investigating issues, or reviewing changes. We’re committed to delivering better performance for all these critical activities in Visual Studio 2022 to make you even more productive. You will also be able to search outside your loaded scope, to find what you’re looking for no matter what code base or repo it’s located in.

Refreshing Visual Studio for Mac

Our goal with Visual Studio 2022 for Mac is to make a modern .NET IDE tailored for the Mac that delivers the productive experience you’ve come to love in Visual Studio. We’re working to move Visual Studio for Mac to native macOS UI, which means it will come with better performance and reliability. It also means that Visual Studio for Mac can take full advantage of all the built-in macOS accessibility features. We’re updating the menus and terminology across the IDE to make Visual Studio more consistent between Mac and Windows. The new Git experience from Visual Studio will also be coming to Visual Studio for Mac, beginning with the introduction of the Git Changes tool window.

Let us know what you think!

We’ve only shown you a few highlights of our work in progress, but we welcome your initial thoughts on the direction we’re taking for Visual Studio 2022. As always, you can head on over to the new Developer Community to browse through existing feature requests to upvote and comment or create your own.

Stay tuned for announcements about the 64-bit Visual Studio 2022 Preview 1 availability, which will include our UI refinements and accessibility improvements. (And remember! Like any work in progress, these features are still in development, so some of them will be coming to Visual Studio 2022 after the first public release.)

Thank you!

 

Editor’s Note: The post was originally published on 4/4/21 and was updated on 7/16/21 to add a note that Visual Studio 2022 Preview has been released.

429 comments

Comments are closed. Login to edit/delete your existing comments

  • Jefferson Motta

    A long time ago I ask to VS support…

    immense gratitude for having listened to me and not ending the VS year in an odd number. my TOC thanks you.

    • Mike-E

      This is actually my favorite “feature” of this whole announcement. Maybe Visual Studio won’t be so “odd” going forward. 😏

  • Cesar Maroun

    Great news about the 64 bit version. Are you ever going to bring back the efficient check-in UI/UX that was completely DESTROYED with the move to VS 2012 from 2010?

  • Jefferson Motta

    A long time ago I ask to VS support…
    So, immense gratitude for having listened to me and not ending the VS year in an odd number. my TOC thanks you.

    • TSX

      why odd number are problematic ? I like it. Last even VS was VS 2012, and was disappointing

  • Talley Ouro

    Make dark mode the default VS theme,VS needs different background image like Jetbrains Intellij Idea, VS needs to integrate AI in every area of the IDE.
    For example if i am not using VS and VS is eating my computer memory,AI will inform me gently alert me that “You are not using VS for almost 3 hours and VS is still running. Can i close VS for you to save your computer memory?”. If VS is unresponsive, VS should alert me via AI that VS is unresponsive and advises me to restart VS.Please support classic asp with tooling and intellisense.

  • Todd Seiler

    I care about two things:
    1) Finding definitions and declarations in C++ within Unreal Engine code base faster with intellisense. I can usually open the file manually, and do a text string search faster than intellisense can find it.
    2) Extensions and some visual studio operations causing visual studio to hang and then visual studio shuts itself down because the operation is taking too long / not responsive. The extensions/operations should be run in their own thread or something, not coupled to the user interface painting.

  • RICKY GAI

    Good to hear latest news from Visual Studio 2022 and .NET 6,

    1. May I know, will there be any support to C/C++ for WebAssembly development and Arduino platform ( Atmel, STM32, ESP32,…etc ) ?

    2. Any possibility there can write C/C++ in .NET 6 for desktop and mobile platform GUI as I am kind of C++ die hard fan :o) ?

    Please advise, thank you.

    • TSX

      yep, mixed assemblies (with native and managed code) could be great for NET 5/6/next

    • Me Gusta

      Because Microsoft are trying to kill off MFC.
      However, XAML for desktop C++ applications is in the works and due to be released this year according to the roadmap.
      Check out WinUI 3 and Project Reunion. Right now they only work with packaged applications, but it is planned for them to work with unpackaged applications by the end of the year.

      • Paulo Pinto

        C++/WinRT with WinUI is only meant for masochits.

        – No XAML designer support
        – IDL files have zero support on Visual Studio, neither syntax highlighting, nor any form of code completion
        – The generated files have to be manually copied, merged and integrated into VS C++/WinRT projects
        – Currently there is no roadmap for C++20 modules support on C++/WinRT
        – No code navigation support between IDL, XAML and C++ code
        – Any complaint about these missing features versus C++/CX tooling gets shot down telling us to add Github issues or Visual Studio community (plenty of them already) or wait to the day ISO C++ decides to add reflection into the language.

        All in all, as primitive as it might be, MFC is years ahead of WinUI tooling for C++.

  • Cédric Menzi

    …and Code Coverage is already part of Community and Pro 😉