Visual Studio 2022

Amanda

Visual Studio 2022 launch is here!


Join us at our free online event to celebrate the launch of Visual Studio 2022. Learn about what’s new, hear tips & tricks, participate in the live Q&As, and be the first to take the latest version for a spin.

 

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

  • Sinan Altaii

    “Visual Studio 2022 will include powerful new support for Git and GitHub.”
    This sounds great of course. But what about Azure DevOps?
    It feels like all the attention is going to Github.

  • Huo Yaoyuan

    What I want most in an evolution of VS:
    – VSCode like configuration system. Currently I can’t see which are explicitly set and which are default. And also I can’t see which settings are really synchoronized.
    – New sln. Sln is extremely unfriendly for editing. Moving a project from platform dependent to AnyCPU requires tons of work.

  • eric werner

    Hi,
    A Wish List:

    0. Don’t forget you’re history.
    1. Keep integration with MFC apps.
    2. Make porting MFC to cross platform easy.
    3. Make sure compile times are not too long.
    4. Easy WebGL enable MFC apps

  • Martin Sedlmair

    Cool. Will there also be a more flexible configuration for companies? Currently its very hard to deliver a company-wide configuration (userdefined workloads other than the ones delivered by MS).

    Company-wide
    – add-ins and extensions
    – configurations

    For every user in our company I have to write a document to install extensions and create the necessary settings.

    It would be really good to have settings that can be delivered next to a solution (like Directory.Build.props).

    • Andy SterlandMicrosoft employee

      Thanks for the feedback Martin, we have something that might help a bit. You can add a .vsconfig file to a repo that details what components of VS are required. It can also be used as part of a command line install. Docs: https://docs.microsoft.com/en-us/visualstudio/install/import-export-installation-configurations?view=vs-2019 it does not support extensions though, there is a developer community suggestion for that: https://dev.azure.com/devdiv/DevDiv/_workitems/edit/839783.

      Out of curiosity do you manage VS installs for a company? If so feel free to reach out to me twitter: @andysterland as I’d be interested in hearing from you on the challenges you face.

      • Martin Sedlmair

        Thanks Andy. We are already using .vsconfig, but it’s only installing components of VS not things that we want to add to VS (like extensions and special VS settings, like pathes or extensions URLs). .editorconfig, .runsettings, Directory.Build.props, etc. are already doing a perfect job, but we are missing a a few bits to make it complete, which is

        1. We need something like a solution wide .vssettings. The settings can already be imported and exported, but it would be good to place these settings as .vssettings into the root directory of the solution so that we can pre-configure it when the user start/fetches the source for the first time.

        2. We need configuration possiblities for solutions. Currently the .suo file is stored for each user independently but there are certain cases like multiple startup projects that are stored only in the suo file. Also here we want to improve the initial setup time.

        Sure, you can document all thoses settings and let the user to the things, but my experience shows me that people do not read the docs and flooding the help desk with unnecessary question. So my choice is prevent over document by configuring things in advance.

        To answer your question, yes we are managing VS installs for our company and our teams.

        I didn’t use twitter so far, so how can we discuss on twitter?

  • Leigh Bradley

    I just hope, it works. I say this, as I wanted to use Visual Basic, and 2019 version would not work and 2017 would not even download correctly and install, I had to install the 2015 version that worked no problem. My only question, based on stuff I have read recently, does the 2022 version include Visual Basic?

    • Jorge Morales Vidal

      Yes, Visual Basic, C#, C++ and other languages are supported by Visual Studio. You can select the workloads when installing VS, or any other specific individual component from the installer. I wonder why VS 2019 or 2017 didn’t work for you, I’ve installed VS 2019/2017 in several machines over the last years and I didn’t see any problems at all, do you work behind a corporate proxy?

      • Boone, Philip

        Thanks for this info. Answers my “Hopefully” in another post 🙂 I would be lost without VB

    • Boone, Philip

      Hi, I find this sad and hard to believe. I have been developing with VisualBasic since the 1990’s, and have went with every Visual Studio Update… no problems. Sure, some versions were better than others… but they all worked. I mainly develop Windows Desktop applications. What kind of projects do you develop?

  • Bartek Kobiałka

    There are releases for Mac and Windows, what about Linux?

    • MgSam

      This is both surprising, unsurprising, and strangely infuriating to read all at the same time 🙂