GlitchEnzo / NuGetForUnity

A NuGet Package Manager for Unity
MIT License
3.25k stars 319 forks source link

Build net7.0- and net8.0-compatible versions of NuGetForUnity.CLI #663

Closed atom-b closed 3 months ago

atom-b commented 3 months ago

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.