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


GitHub Announces Free Copilot
19/12/2024

GitHub has launched GitHub Copilot Free, a free version of Copilot that provides limited access to selected features of Copilot and is automatically integrated into VS Code. The free tier is aimed at  [ ... ]



Meta Releases OpenSource Podcast Generating Tool
28/11/2024

Meta has released an open source project that can be used to automatically convert a PDF file into a podcast. Meta says Notebook Llama can be considered an open-source version of Google's NotebookLM.

 [ ... ]


More News

espbook

 

Comments




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

Microso

Last Updated ( Tuesday, 21 February 2023 )