For those who have been wanting to upgrade to .NET 5 but have found it too time-consuming with the existing porting tools, the new .NET Upgrade Assistant is for you. It provides a guided programme for incrementally upgrading your applications with step-by-step instructions and recommendations.
The .Net Upgrade Assistant doesn’t take out all manual work, as changes still need to be made by those familiar with the application and its functionality. However, the tool does take out a lot of effort, thereby saving you plenty of time.
Once the .NET Upgrade Assistant is installed, the basic steps it runs through are:
- Backup your projects.
- Update your projects to SDK-style.
- Update the target framework.
- Update NuGet packages.
- Add template files.
Your projects have now been upgraded to .NET 5.
- Update C# Source.
- Move to the next project (as applicable).
Get Started or Find Out More
Here are some handy resources to begin the upgrade process:
- The tool: Upgrade Assistant | .NET (microsoft.com)
- GitHub repository: GitHub – dotnet/upgrade-assistant: A tool to assist developers in upgrading .NET Framework applications to .NET 5
- See the process: Upgrading .NET Desktop Apps from .NET Framework to .NET 5 – YouTube
If you are not sure that upgrading is right for you, you can determine that here:
- Upgrade documentation: Port from .NET Framework to .NET 5 – .NET Core | Microsoft Docs
- GitHub – determine feasibility: Port from .NET Framework to .NET 5 – .NET Core | Microsoft Docs