Microsoft offers Visual Studio IDE extension for .NET upgrades
Microsoft is previewing a Visible Studio IDE extension to enhance older .Net-based mostly programs to the hottest variations of the .Internet program improvement platform.
Downloadable from the Visible Studio Market and called .Web Update Assistant, the extension works with .Net Framework or .Web Core website and desktop applications to move apps to .Web 6, launched in November 2021, or .Net 7, from November 2022. Migrations from 2020’s .Internet 5 launch also are attainable.
In a February 15 blog write-up, Microsoft’s Olia Gavrysh, software supervisor for .Internet, defined that upgrading applications, especially from .Net Framework, has been a complicated method now, builders using the extension will be able to upgrade by correct-clicking on a venture in Resolution Explorer and picking out Update.
The process continue to calls for some operate by builders. While the extension will get care of the mechanics of upgrading, developers can expect to do some handbook submit-processing. Tries are made to automatically fix breaking modifications, but not all of them can be detected or fixed. Developers may possibly have to have to make additional modifications to get code to compile. Testing is also essential to make sure code continues to perform as predicted.
Supported improve styles include:
- In-spot, with the unique task upgraded all at the moment
- Side-by-facet, with the task untouched and a copy included to the solution made up of the upgraded code
- Aspect-by-side incremental, excellent for world-wide-web applications and to set up a .Net 6/7 undertaking even though other calls will be despatched to the .Net Framework software. This permits updates to be combined with element advancement. Supported .Internet updates include .Net Framework to .Net 6+, .Internet Core to .Web6+, and .Net 5 to .Web 6+.
Recent systems supported by the resource incorporate .Internet, class libraries, console, WPF (Windows Presentation Basis), and WinForms. Assist is thanks soon for Xamarin to .Internet MAUI migration, UWP (Common Windows Platform) to WinUI migration, and WCF (Home windows Conversation Foundation) to WCF Core migration.
Whilst these migration varieties are in progress, developers by now can up grade these jobs, but code fixers for these tasks are missing at this stage. Builders can use the present Update Assistant command line software, which now has code fixers. This guidance will adhere to soon for the Visible Studio extension.
Copyright © 2023 IDG Communications, Inc.