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