We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84bac43 commit b1d6f64Copy full SHA for b1d6f64
build_common.ps1
@@ -37,7 +37,7 @@ Write-Host "vswhere found at: $vsWhere" -ForegroundColor Yellow
37
#
38
# Get path to Visual Studio installation using vswhere.
39
40
-$vsPath = &$vsWhere -latest -products * `
+$vsPath = &$vsWhere -latest -version "[16.0,19.0)" -products * `
41
-requires Microsoft.Component.MSBuild `
42
-property installationPath
43
If ([string]::IsNullOrEmpty("$vsPath")) {
@@ -136,4 +136,4 @@ function PerformBuild {
136
exit $LASTEXITCODE
137
}
138
139
-}
+}
0 commit comments