Microsoft Visual Studio 2022 is fixing one of the most annoying issues for developers coding
With the recent release of Microsoft Visual Studio 2022 Preview 2, Microsoft has introduced a brand-new Hot Reload experience that not only helps developers be more productive but also supports both managed .NET and native C++ apps.
The software giant’s goal with the latest update to its development environment is to save developers as many app restarts between edits as possible according to a new blog post. To achieve this, Microsoft has made it possible for developers to edit their applications’ code files and in many cases, apply code changes immediately without having to pause an apps’ execution or restarting.
At the same time though, this brand-new Hot Reload technology for code files will also still work side-by-side with XAML Hot Reload making both XAML and .NET Hot Reload available for applications which use XAML for their UI.
Furthermore, Hot Reload works alongside existing debugger capabilities developers are familiar with such as breakpoints and ‘edit and continue’ (EnC) to modify running code at a breakpoint and other features.
Revamped Hot Reload experience
In Microsoft Visual Studio 2022 Preview 2, Hot Reload works with many types of apps including those powered by XAML such as WPF and WinUI 3 along with many others including Windows Forms, ASP.NET web apps, Blazor Server, Console apps and others apps where a modern .NET runtime is used in combination with Visual Studio debugger.
Microsoft has also said that it is actively working to support more app types in the future such as Blazor Wasm and .NET MAUI iOS/Android.
Going forward, the company plans to add support for Blazor web apps in more scenarios and editing CSS files during Hot Reload though it also plans to add further improvements to the user experience in Visual Studio 2022.
Being able to edit application code files and apply changes without having to pause an app’s execution or restart will likely be welcomed by developers using Visual Studio 2022 as this will save them time and help improve their overall productivity.
Via MSPoweruser
With the recent release of Microsoft Visual Studio 2022 Preview 2, Microsoft has introduced a brand-new Hot Reload experience that not only helps developers be more productive but also supports both managed .NET and native C++ apps. The software giant’s goal with the latest update to its development environment is…
Recent Posts
- The newest Star Wars Acolyte trailer seems to reveal the show’s big bad
- 6-screen laptop manufacturer is very much alive — Acme Portable’s Megapac L3 is the original hexadisplay mobile powerstation and is still on sale, shame that it is still using old dual CPU tech from AMD and Intel
- ChromeOS gets better multitasking and Wi-Fi traffic prioritization
- Huge Google Pixel 8a leak includes all the predicted specs – and a price
- Huge Google Pixel 8a leak includes all the predicted specs – and a price
Archives
- May 2024
- April 2024
- March 2024
- February 2024
- January 2024
- December 2023
- November 2023
- October 2023
- September 2023
- August 2023
- July 2023
- June 2023
- May 2023
- April 2023
- March 2023
- February 2023
- January 2023
- December 2022
- November 2022
- October 2022
- September 2022
- August 2022
- July 2022
- June 2022
- May 2022
- April 2022
- March 2022
- February 2022
- January 2022
- December 2021
- November 2021
- October 2021
- September 2021
- August 2021
- July 2021
- June 2021
- May 2021
- April 2021
- March 2021
- February 2021
- January 2021
- December 2020
- November 2020
- October 2020
- September 2020
- August 2020
- July 2020
- June 2020
- May 2020
- April 2020
- March 2020
- February 2020
- January 2020
- December 2019
- November 2019
- December 2011