Visual Studio Can Now Upgrade Apps To Latest .NET
Written by Kay Ewbank   
Tuesday, 21 February 2023

Microsoft has released a Visual Studio extension that can be used to upgrade any .NET application to the latest version of .NET inside of Visual Studio.

Discussing the extension, Olia Gavrysh,  a Senior Program Manager on . NET team at Microsoft, said that:

"If your applications are built for .NET Framework or .NET Core, now is a great time to upgrade them to .NET 6 (Long Term Support version) or .NET 7 (Standard Term Support version) that have much better performance and give you access to the latest features and capabilities."

visstudprev

Gavrysh said that there have been huge improvements between .NET Framework and the latest .NET, but even if you’re targeting .NET Core 3.1 or earlier, it is now no longer supported as it reached the end of support in December 2022.

The new extension adds an 'upgrade assistant' to make it simpler to upgrade an application, as Microsoft admits that until now upgrading, especially from .NET Framework, was a complicated process involving either the Upgrade Assistant CLI tool or Microsoft Project Migrations.

The extension means that all developers need to do is to right-click on a project in Solution Explorer and choose “Upgrade”. The assistant will then take care of the mechanics, but depending on what framework and project type you’re upgrading from, there will be some manual post processing. Microsoft says the reason behind this is that while they've tried hard to ensure the assistant automatically fixes breaking changes, it cannot detect and fix all of them. So you might need to make some additional modifications to get the code to compile and you need to test thoroughly to ensure your code continues to work as expected.

The  extension is available now.

 visstudprev

More Information

Visual Studio Website

.NET Upgrade Assistant On Microsoft Marketplace

Related Articles

Visual Studio 2022 Preview 2 Targets Productivity

Visual Studio 2022 Will Be 64-bit

Microsoft Aims For Better Visual Studio Extensions  

Visual Studio Preview 2 Revamps Git Functionality

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Flutter Forked As Flock
05/11/2024

One of developers who worked on the Flutter team at Google has created an open-source form of the framework. Matt Carroll says Flock will be "Flutter+", will remain constantly up to date with Flutter, [ ... ]



DuckDB And Hydra Partner To Get DuckDB Into PostgreSQL
11/11/2024

The offspring of that partnership is pg_duckdb, an extension that embeds the DuckDB engine into the PostgreSQL database, allowing it to handle analytical workloads.


More News

espbook

 

Comments




or email your comment to: comments@i-programmer.info

Microso

Last Updated ( Tuesday, 21 February 2023 )