Some CI environments, such as Unity Cloud Build, only provide the dotnet 7.0 runtime, making a net8.0-targeted NuGetForUnity.Cli build unusable in them. With this change the NuGetForUnity.Cli.nupkg output by dotnet pack contains builds for both runtime versions.
I've confirmed that this fixes the runtime version errors the net8.0-only builds was causing in Unity Cloud Build.
Some CI environments, such as Unity Cloud Build, only provide the dotnet 7.0 runtime, making a net8.0-targeted
NuGetForUnity.Cli
build unusable in them. With this change theNuGetForUnity.Cli.nupkg
output bydotnet pack
contains builds for both runtime versions.I've confirmed that this fixes the runtime version errors the net8.0-only builds was causing in Unity Cloud Build.