Click here to Skip to main content
15,915,600 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How to upgrade from .NET core 2.1 to .NET core 5 ?

What I have tried:

How to upgrade from .NET core 2.1 to .NET core 5 ?
Posted
Updated 22-Oct-22 19:56pm
Comments
Member 15627495 24-Oct-22 3:40am    
sure there are tools to upgrade, or busy time to spend, but you can add the .net 5 as new package in your project , to cover the new feature you need.

if you block in your project because of 'fashion new .net 5' , you're maybe looking for a wrong need about your project.
Richard Deeming 24-Oct-22 5:47am    
.NET 5 has been out of support since May. You should upgrade to .NET 6, which is supported until November 2024.

.NET and .NET Core official support policy[^]

1 solution

You can use .NET Upgrade Assistant: Upgrade Assistant | .NET[^]. It's a tool by Microsoft that helps you incrementally upgrade your .NET Framework-based Windows applications.

Also, refer the documentation for stepwise from 2.1 to 3.0 => 3.0 to 3.1 => 3.1 to 5.0:
Migrate from ASP.NET Core 2.1 to 2.2 | Microsoft Learn[^]
Migrate from ASP.NET Core 2.2 to 3.0 | Microsoft Learn[^]
Migrate from ASP.NET Core 3.0 to 3.1 | Microsoft Learn[^]
Migrate from ASP.NET Core 3.1 to 5.0 | Microsoft Learn[^]

You can also refer this inhouse document: Upgrading from .NET Core 2.1 to .NET 6.0[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900