install .net 5 code example Example: package manager dotnet 5.0 frameworks Install-Package Microsoft.NETCore.Platforms -Version 5.0.0