update .net core 3.1 to .net 6 code example Example: upgrade .net core 2.2 to 3.1 { "sdk": { "version": "3.0.100" } }