diff --git a/build_projects/dotnet-cli-build/build.ps1 b/build_projects/dotnet-cli-build/build.ps1 index 8c6d2bcfc..7d6bace1c 100644 --- a/build_projects/dotnet-cli-build/build.ps1 +++ b/build_projects/dotnet-cli-build/build.ps1 @@ -56,7 +56,7 @@ if (!(Test-Path $env:DOTNET_INSTALL_DIR)) # Install a stage 0 Write-Host "Installing .NET Core CLI Stage 0 from branchinfo channel" -& "$RepoRoot\scripts\obtain\dotnet-install.ps1" -Channel $env:CHANNEL -Architecture $Architecture -Verbose +& "$RepoRoot\scripts\obtain\dotnet-install.ps1" -Channel $env:CHANNEL -Architecture $Architecture -Verbose -Version 1.0.0-preview2-002818 if($LASTEXITCODE -ne 0) { throw "Failed to install stage0" } # Put the stage0 on the path diff --git a/build_projects/dotnet-cli-build/build.sh b/build_projects/dotnet-cli-build/build.sh index 1ef8f7ca1..4ac49075b 100755 --- a/build_projects/dotnet-cli-build/build.sh +++ b/build_projects/dotnet-cli-build/build.sh @@ -85,7 +85,7 @@ done < "$REPOROOT/branchinfo.txt" [ -z "$DOTNET_INSTALL_DIR" ] && export DOTNET_INSTALL_DIR=$REPOROOT/.dotnet_stage0/$(uname) [ -d "$DOTNET_INSTALL_DIR" ] || mkdir -p $DOTNET_INSTALL_DIR -$REPOROOT/scripts/obtain/dotnet-install.sh --channel $CHANNEL --verbose +$REPOROOT/scripts/obtain/dotnet-install.sh --channel $CHANNEL --verbose --version 1.0.0-preview2-002818 # Put stage 0 on the PATH (for this shell only) PATH="$DOTNET_INSTALL_DIR:$PATH" diff --git a/build_projects/dotnet-host-build/build.ps1 b/build_projects/dotnet-host-build/build.ps1 index 4e6ae8aa6..1fb83650e 100644 --- a/build_projects/dotnet-host-build/build.ps1 +++ b/build_projects/dotnet-host-build/build.ps1 @@ -56,7 +56,7 @@ if (!(Test-Path $env:DOTNET_INSTALL_DIR)) # Install a stage 0 Write-Host "Installing .NET Core CLI Stage 0 from branchinfo channel" -& "$RepoRoot\scripts\obtain\dotnet-install.ps1" -Channel $env:CHANNEL -Architecture $Architecture -Verbose +& "$RepoRoot\scripts\obtain\dotnet-install.ps1" -Channel $env:CHANNEL -Architecture $Architecture -Verbose -Version 1.0.0-preview2-002818 if($LASTEXITCODE -ne 0) { throw "Failed to install stage0" } # Put the stage0 on the path diff --git a/build_projects/dotnet-host-build/build.sh b/build_projects/dotnet-host-build/build.sh index f214f6c27..327b0a44c 100755 --- a/build_projects/dotnet-host-build/build.sh +++ b/build_projects/dotnet-host-build/build.sh @@ -85,7 +85,7 @@ done < "$REPOROOT/branchinfo.txt" [ -z "$DOTNET_INSTALL_DIR" ] && export DOTNET_INSTALL_DIR=$REPOROOT/.dotnet_stage0/$(uname) [ -d "$DOTNET_INSTALL_DIR" ] || mkdir -p $DOTNET_INSTALL_DIR -$REPOROOT/scripts/obtain/dotnet-install.sh --channel $CHANNEL --verbose +$REPOROOT/scripts/obtain/dotnet-install.sh --channel $CHANNEL --verbose --version 1.0.0-preview2-002818 # Put stage 0 on the PATH (for this shell only) PATH="$DOTNET_INSTALL_DIR:$PATH"