提交 7c73dcd2 编写于 作者: J Jared Parsons 提交者: GitHub

Merge pull request #19789 from jaredpar/fix-nuget2

Enable NuGet debugging
......@@ -265,7 +265,7 @@ function Restore-Project([string]$fileName, [string]$nuget, [string]$msbuildDir)
$filePath = Join-Path $repoDir $fileName
}
Exec-Block { & $nuget restore -verbosity quiet -configfile $nugetConfig -MSBuildPath $msbuildDir -Project2ProjectTimeOut 1200 $filePath }
Exec-Block { & $nuget restore -verbosity quiet -configfile $nugetConfig -MSBuildPath $msbuildDir -Project2ProjectTimeOut 1200 $filePath } | Write-Host
}
# Restore all of the projects that the repo consumes
......
......@@ -110,7 +110,11 @@ try {
if (-not $skipRestore) {
Write-Host "Running restore"
# Temporary work around to help NuGet team debug a restore issue
${env:NUGET_SHOW_STACK}="true"
Restore-All -msbuildDir $msbuildDir
Remove-Item env:\NUGET_SHOW_STACK
}
# Ensure the binaries directory exists because msbuild can fail when part of the path to LogFile isn't present.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册