File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,9 +52,9 @@ RUN $msvs_build_tools_dist_name=\"vs_buildtools.exe\"; `
5252 '--add Microsoft.VisualStudio.Component.VC.CoreBuildTools', `
5353 '--add Microsoft.VisualStudio.Component.VC.MSVC.143', `
5454 '--add Microsoft.VisualStudio.Component.Windows10SDK.19041' `
55- -NoNewWindow -Wait; `
56- if ($p .ExitCode -ne 0 -and $p .ExitCode -ne 3010) { `
57- throw \"Visual Studio Build Tools installer failed with exit code $($p .ExitCode)\" `
55+ -NoNewWindow -Wait -PassThru ; `
56+ if (${p} .ExitCode -ne 0 -and ${p} .ExitCode -ne 3010) { `
57+ throw \"Visual Studio Build Tools installer failed with exit code $(${p} .ExitCode)\" `
5858 }; `
5959 if (-not (Test-Path \"${env:MSVS_HOME}\VC\Auxiliary\Build\vcvars64.bat\")) { `
6060 throw \"Visual Studio Build Tools installation is incomplete: ${env:MSVS_HOME}\VC\Auxiliary\Build\vcvars64.bat not found\" `
You can’t perform that action at this time.
0 commit comments