Saturday, February 18, 2023
HomeITMicrosoft provides Visible Studio IDE extension for .NET upgrades

Microsoft provides Visible Studio IDE extension for .NET upgrades


Microsoft is previewing a Visible Studio IDE extension to improve older .NET-based purposes to the newest variations of the .NET software program improvement platform.

Downloadable from the Visible Studio Market and referred to as .NET Improve Assistant, the extension works with .NET Framework or .NET Core internet and desktop apps to maneuver apps to .NET 6, launched in November 2021, or .NET 7, from November 2022. Migrations from 2020’s .NET 5 launch are also doable.

In a February 15 weblog submit, Microsoft’s Olia Gavrysh, program supervisor for .NET, defined that upgrading purposes, significantly from .NET Framework, has been a sophisticated course of; now, builders utilizing the extension will be capable of improve by right-clicking on a venture in Answer Explorer and selecting Improve.

The method nonetheless requires some work by builders. Though the extension will maintain the mechanics of upgrading, builders can count on to do some handbook post-processing. Makes an attempt are made to routinely repair breaking modifications, however not all of them will be detected or fastened. Builders would possibly have to make extra modifications to get code to compile. Testing can also be wanted to make sure code continues to work as anticipated.

Supported improve varieties embody:

  • In-place, with the unique venture upgraded abruptly
  • Facet-by-side, with the venture untouched and a duplicate added to the answer containing the upgraded code
  • Facet-by-side incremental, preferrred for internet purposes and to ascertain a .NET 6/7 venture whereas different calls can be despatched to the .NET Framework software. This allows upgrades to be mixed with characteristic improvement. Supported .NET upgrades embody .NET Framework to .NET 6+, .NET Core to .NET6+, and .NET 5 to .NET 6+.

Present applied sciences supported by the instrument embody .NET, class libraries, console, WPF (Home windows Presentation Basis), and WinForms. Help is due quickly for Xamarin to .NET MAUI migration, UWP (Common Home windows Platform) to WinUI migration, and WCF (Home windows Communication Basis) to WCF Core migration.

Whereas these migration varieties are in improvement, builders already can improve these initiatives, however code fixers for these initiatives are missing at this level. Builders can use the prevailing Improve Assistant command line instrument, which already has code fixers. This help will observe quickly for the Visible Studio extension.

Copyright © 2023 IDG Communications, Inc.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments