We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efba759 commit 4dfff73Copy full SHA for 4dfff73
build.psm1
@@ -261,7 +261,7 @@ function Start-BuildNativeWindowsBinaries {
261
$vcvarsallbatPath = $vcvarsallbatPathVS2017
262
}
263
264
- if ((Test-Path -Path $vcvarsallbatPath) -eq $false) {
+ if ([string]::IsNullOrEmpty($vcvarsallbatPath) -or (Test-Path -Path $vcvarsallbatPath) -eq $false) {
265
throw "Could not find Visual Studio vcvarsall.bat at $vcvarsallbatPath. Please ensure the optional feature 'Common Tools for Visual C++' is installed."
266
267
0 commit comments