26.10.2021

Visual Studio 2022 is coming...

All programmers who develop for the Windows environment await a new version of Microsoft Visual Studio with anticipation and sometimes concern.
I can say that for the projects I have followed over the years, these concerns have almost always been unfounded, other than initial problems that would sometimes lead to small delays in production, mainly when migrating projects.

 

VS 64-bit

This new version contains a 10-year-old request that Microsoft could no longer ignore. Visual Studio 2022 will be 64-bit. This means that developers will finally be able to use more than 4 GB of memory, which in the current version can cause slowdowns or deadlocks.
Obviously, VS 2022 will still allow you to create and manage 32-bit applications.

 

WEB CLIENTS

However, it is clear that Microsoft is focusing on the cloud and therefore on Azure. This is because this new version will make Azure/cloud apps easier to create. New repositories and new “ready-to-use” example code will allow you to get straight into active coding and debugging.
One thing developers could have expected is that VS 2022 will have full support for .NET 6 (which will be released for .NET Conf 2021) . This is of course a key component for web-oriented apps, as it contains .NET MAUI , which is a cross-platform framework for creating native mobile and desktop apps with C# and XAML.

 

VS is hot

Another good new feature seems to be hot reloading. There will be a new button that will allow you to change the managed code of your app while the application is running, without the need to pause or add breakpoints. This feature will work on many types of existing projects (WPF, Windows Forms, ASP.NET core) and also for newer ones (.NET MAUI).
In fact, Microsoft already released this feature in Visual Studio 2019, within version 16.11.0. I tried it for a couple of days, and honestly, it doesn’t always work. We hope that with the updates, or at least with the new dev env, it will be okay.

 

Microsoft sets the RC

As always, Microsoft has already released previews that you can download and try. At the moment, the latest version to have been released is v17 Preview 4 (14/09/2021).
But there is an even more important date coming up: on 8 November 2021, just before the start of the virtual conference .NET Conf 2021 (9-11 November), Microsoft will release the first Release Candidate. Who knows what development environment the speakers will use at the conference?

 

As usual, STAY TUNED!

Photo: monticello / Shutterstock.com