diff options
author | dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com> | 2020-04-25 11:06:31 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-25 11:06:31 +0300 |
commit | 522cb764ba2035d0713c22e2abfd730c40fa7f7e (patch) | |
tree | 5309ce8f5edb2b1cf311a40fb50127d78cfe8d8c /eng/common/tools.ps1 | |
parent | b6a5c31a2e7228fc94e334d336284e75fa040c03 (diff) |
[master] Update dependencies from dotnet/arcade Microsoft/vstest (#35400)
Diffstat (limited to 'eng/common/tools.ps1')
-rw-r--r-- | eng/common/tools.ps1 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/eng/common/tools.ps1 b/eng/common/tools.ps1 index 60c1cd89758..3721ce881e8 100644 --- a/eng/common/tools.ps1 +++ b/eng/common/tools.ps1 @@ -488,10 +488,11 @@ function GetNuGetPackageCachePath() { if ($env:NUGET_PACKAGES -eq $null) { # Use local cache on CI to ensure deterministic build, # use global cache in dev builds to avoid cost of downloading packages. + # For directory normalization, see also: https://github.com/NuGet/Home/issues/7968 if ($useGlobalNuGetCache) { - $env:NUGET_PACKAGES = Join-Path $env:UserProfile '.nuget\packages' + $env:NUGET_PACKAGES = Join-Path $env:UserProfile '.nuget\packages\' } else { - $env:NUGET_PACKAGES = Join-Path $RepoRoot '.packages' + $env:NUGET_PACKAGES = Join-Path $RepoRoot '.packages\' } } @@ -632,6 +633,8 @@ function MSBuild-Core() { } } + $env:ARCADE_BUILD_TOOL_COMMAND = "$($buildTool.Path) $cmdArgs" + $exitCode = Exec-Process $buildTool.Path $cmdArgs if ($exitCode -ne 0) { |