Migrate Dotnet Core 3.1 to DotNet 6.0ΒΆ
If used global.json, update the versionΒΆ
Update csproj file withΒΆ
Text Only
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
- <TargetFramework>netcoreapp3.1</TargetFramework>
+ <TargetFramework>net6.0</TargetFramework>
</PropertyGroup>
</Project>
Update all nuget packageΒΆ
- Install dotnet-outdated-tools from nuget repo
- Run update command to update all the packages The command will automatically update all the package.