Skip to content

Cloning at tag v3.1.9 has incorrect versions in global.json #27171

@IanKemp

Description

@IanKemp

sdk:version and tools:dotnet are set to 3.1.107 which is the SDK for v3.1.7. Updating these fields to 3.1.109 ensures the correct SDK version is installed.

tools:runtimes:dotnet/x64 is set to $(MicrosoftNETCoreAppInternalPackageVersion) which causes dotnet-install to download https://dotnetcli.azureedge.net/dotnet/Runtime/3.1.8-servicing.20420.1/dotnet-runtime-3.1.8-servicing.20420.1-win-x64.zip which is incorrect. Forcing this value to 3.1.9 correctly uses/downloads the v3.1.9 runtime. I have no idea what $MicrosoftNETCoreAppInternalPackageVersion is or where it is set, and honestly I couldn't be bothered.

tools:vs:version is set to 16.3, should be 16.4.

If you're going to provide build scripts, make sure they're correct for the version being built, or don't supply them at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-infrastructureIncludes: MSBuild projects/targets, build scripts, CI, Installers and shared framework

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions