This commit is contained in:
Pranav K 2020-02-05 13:32:14 -08:00
parent 6a522be969
commit 63f28f7b98
No known key found for this signature in database
GPG Key ID: F748807460A27E91
2 changed files with 4 additions and 3 deletions

View File

@ -362,9 +362,10 @@ try {
$toolsetBuildProj = InitializeToolset
$sdkPath = [IO.Path]::Combine($env:DOTNET_INSTALL_DIR, 'sdk', '3.1.102')
$dotnetInstallDir = Join-Path $RepoRoot ".dotnet"
$sdkPath = [IO.Path]::Combine($dotnetInstallDir, 'sdk', '3.1.102')
if (!(Test-Path $sdkPath)) {
InstallDotNetSdk $env:DOTNET_INSTALL_DIR '3.1.102-servicing-014873' -skipNonVersionedFiles $true
InstallDotNetSdk $dotnetInstallDir '3.1.102-servicing-014873' -skipNonVersionedFiles $true
}
$restore = $tmpRestore

View File

@ -316,7 +316,7 @@ restore=true
InitializeToolset
InstallDotNetSdk "$DOTNET_INSTALL_DIR" "3.1.102-servicing-014873"
InstallDotNetSdk "$repo_root/.dotnet" "3.1.102-servicing-014873"
restore=$_tmp_restore=