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.
2 parents 448e765 + db981d6 commit a5c6a54Copy full SHA for a5c6a54
build.ps1
@@ -251,7 +251,13 @@ function Msvs
251
252
if($null -eq $VSInstallPath -or !(Test-Path $VSInstallPath))
253
{
254
- Die "Visual Studio $VS_OFFICIAL_VER was not found"
+ $VSInstallPath = & $global:VSwherePath -version $versionSearchStr -property installationPath -products 'Microsoft.VisualStudio.Product.BuildTools'
255
+ Write-Diagnostic "BuildTools $($VS_OFFICIAL_VER)InstallPath: $VSInstallPath"
256
+
257
+ if($null -eq $VSInstallPath -or !(Test-Path $VSInstallPath))
258
+ {
259
+ Die "Visual Studio $VS_OFFICIAL_VER was not found"
260
+ }
261
}
262
263
$VisualStudioVersion = "$VS_VER.0"
0 commit comments