What Is New In Visual Studio 2022 ?

 Microsoft's Visual Studio is perhaps the most famous engineer IDEs on the planet. Not exclusively is Visual Studio present day, highlight rich, and progressed, yet it likewise gets more regular updates than some other IDE out there. The following form of Visual Studio will be Visual Studio 2022. The Visual Studio group just delivered the primary public see of Visual Studio 2022.

I'm certain one of the principal questions you most likely have is, "What's going on in Visual Studio 2022?" In this article, we will find out about the key new highlights in Visual Studio 2022.

Visual Studio 2022 is modern, faster, intelligent and lightweight

Summary of What's New in this Release of Visual Studio 2022 version 17.0 Preview 1

64-bit

  • devenv.exe is now 64-bit only

IntelliCode

  • Whole line auto completion

.NET 6 SDK

  • The .NET 6 SDK (preview) is included in Visual Studio 2022
  • This release has basic support for .NET MAUI projects. Temporarily you have to install the .NET MAUI workload separately from .NET 6. See our .NET MAUI installation documentation for more information

Git Tooling

  • Removed the ability to revert back to the Team Explorer Git UI, making the new Git experience the only available built-in tooling.
  • Removed the option to install the GitHub extension from the Visual Studio Installer.

Test tools support

  • New versions of the test platform starting with 17.0 will not be able to run Generic tests and Ordered tests. These specific features only shipped as part of an early version of MSTestv1 and are not included in MSTestv2. We see very low usage of these features and ordered tests is now considered contrary to best testing practices.
  • Some test experiences will not be available in 17.0 Preview 1 including creating new TestSettings files and the TestSettings editor. Test runs will still be able to use TestSettings files, however TestSettings was replaced with RunSettings and we encourage users to migrate improved performance and functionality. 
  • Coded UI Tests and [Web Load Tests](Cloud-based load testing service end of life | Azure DevOps Blog (microsoft.com)) support will not arrive in 17.0 preview 1 as we are still working on porting these experiences to Visual Studio 2022. We do plan to support them in subsequent previews, though we strongly encourage users to move off Coded UI Test and Web Load Test. These technologies were officially deprecated in 2019 and we do plan to remove them from the product when we can minimize the impact to users.

Web Tools

  • The Publish summary page now has actions to start / stop remote debugging and profiling under the '...' menu on the top right corner of the 'Hosting' section
  • The Connected Services page now has an action to launch Storage Explorer
  • The "ASP.NET Core Empty" template that comes with .NET 6 is using the new 'minimal APIs' paradigm for which we have started to add support

Extensibility

  • VS SDK contains several breaking changes and Visual Studio 2019 extensions will not work in 2022. See VSSDK documentation for more information.
  • VS SDK Reference assemblies are no longer installed to the VSSDK\VisualStudioIntegration\Common\Assemblies folder. If your build was relying on these assemblies, please migrate your project to use NuGet packages instead. For offline scenarios:
    1. Keep an in-org nuget feed from which to restore the nuget packages.
    2. Check in the binaries.

Hot Reload

.NET Hot Reload is now available in Visual Studio 2022 when running your app using the debugger (F5) through the new 'apply code changes' button. With Hot Reload you can edit your running applications code files and, in many cases, apply those code changes without having to first pause the apps execution (as was previously required by edit and continue capability). With Hot Reload our goal is to save you as many app restarts as possible between edits, making you more productive by reducing the time you spend building/restarting your application as you continue to build your app.

To learn more about Hot Reload works see our recent blog post on the .NET Blog.

New WPF XAML Designer for .NET Framework

The current WPF XAML Designer for .NET Framework is replaced with a new WPF XAML Designer for .NET Framework, based on the same architecture used for the WPF XAML Designer for .NET (.NET Core).

The Visual Studio experience will look the same, but third-party control vendors need to support the new extensibility model since the previous model based on .design.dll and Microsoft.Windows.Design.Extensibility is deprecated. If you already created a .designtools.dll extension for .NET (.NET Core), that same extension will work for the new WPF XAML Designer for .NET Framework.

Please refer to the migration document below for further information about how to migrate to the new extensibility model.

Features Not Yet Available

In the Preview 1 release of Visual Studio 2022 several features have yet to be migrated to 64-bit and are not yet in the preview. We plan to include these features in future updates and they are not being removed from Visual Studio.

  • Web Live Preview
  • Instrumentation profiler
  • Azure Cloud Service project support
  • T-SQL debugger
  • Web Load Test and TestController/TestAgent
  • Azure DataLake
  • Coded UI Test
  • DotFuscator
  • Incredibuild IDE integration
  • IntelliCode find and replace by example

Post a Comment

1 Comments

  1. Excellent post, thanks for sharing. Would like to see more posts like this in future. Also checkout Nulls Clash.

    ReplyDelete