.NET Core releases alternate between LTS and Current releases, so it is possible for an “LTS” release that shipped
first (for example .NET Core 3.1) to be supported for longer than a “Current” release (for example .NET 5) that
shipped later. Credit:
NET Core Releases and Support
Because the ASP.NET Core 3.1 research projects are easy to migrate and will be supported longer than .NET 5,
I have decided against offering .NET 5 versions for existing ASP.NET Core 3.1 research projects.
Before you migrate you should review
Breaking changes in .NET 5.0
for any issues which may affect your project.
I will use the
ASP.NET Core 3.1 - Users Without Identity Project
for screenshots but the process is similar for the other research projects.
First update the Target Framework. You can update the Target Framework on the project's properties page from
.NET Core 3.1 to .Net 5.0.
Or you can edit the project file (PROJECTNAME.csproj). Update the TargetFramework property from
netcoreapp3.1 to net5.0.
Next update NuGet packages. Select all packages on the Nuget page's Updates tab and update.