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


OpenAI Releases Swarm
25/10/2024

OpenAI has released an experimental educational framework for exploring ergonomic, lightweight multi-agent orchestration. Swarm is managed by the OpenAI Solution team, but is not intended to be used i [ ... ]



Spring One 2024 Sessions Now Available Online
04/10/2024

The sessions from this year's SpringOne conference covering everything and anything concerned with the Spring framework are accessible online for free.


More News

espbook

 

Comments




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

Microso

Last Updated ( Tuesday, 21 February 2023 )