Press "Enter" to skip to content

Development environment: Visual Studio 2022 extends debugging

Microsoft has published the fourth preview version of Visual Studio 2022 parallel to the first release candidate of .NET 6. The new Razor editor, which had considerable stability problems in Preview 3, has been stabilized and expanded, as has the hot reloading, including changes to namespace imports, lambda expressions and structures. Developers can now also use Hot Reload while debugging.

The latter also works in Preview 4 for .NET MAUI applications when debugging. However, the options on iOS and tvOS, which continue to use the Mono Runtime underground in .NET 6, are limited to a few change scenarios.

Integration der Hot Reload-Funktion in Visual Studio 2022 Preview 4

The live preview of XAML interfaces now not only works with the Windows Presentation Foundation, but also with the Windows UI Library 3 as well as Xamarin Forms and MAUI in conjunction with Android and Windows.

Live preview of a MAUI app for Android

(Image: Microsoft)

It is helpful in unit testing that you can now use the Show in Test Explorer can find the appropriate entry in the test list. While web load tests can now also be created with Visual Studio 2022, announced Microsoft in the release notesthat the recorder for the discontinued in April 2019 Coded-UI-Test is no longer migrated to the new 64-bit IDE.

When debugging, developers can now define breakpoints at which the debugger only stops if another breakpoint has been reached beforehand. For the new project type of pure JavaScript / TypeScript projects, Visual Studio offers a graphical NPM package management system, which, in terms of its visual design, still acts as a foreign body in the revamped IDE.

Installation of an NPM package in a vue.js project

The tabs of the open files can now have a colored marking in the development environment, which makes project assignment easier. This function must be under Tools | Options | Environment | Tabs and Windows be activated. The popular UI theme in Visual Studio Code “Winter is Coming” now exists for the large Visual Studio.

Different colors at the edge of the tab titles symbolize different Visual Studio projects in the current solution.

Another focus of the fourth preview was loud the blog post by Program Manager Mads Kristensen the improvement of the performance among other things with the file search and the input support for C ++.

In contrast to the .NET 6 Release Candidate 1, which appeared at the same time, Microsoft also certifies its development environment Visual Studio 2022 in the current Preview 4 version in den Release Notes Not yet ready for production, although .NET 6 applications can only be compiled in the upcoming Visual Studio release.

Visual Studio 2022 is the first 64-bit version of the development environment to be released by Microsoft. Due to the switch from 32 to 64 bit, all authors of extensions have to make adjustments. Microsoft helps with its own documentation, among other things. The finished version of Visual Studio 2022 together with the RTM version of .NET 6 is expected on November 9, 2022.


Article Source

Disclaimer: This article is generated from the feed and not edited by our team.