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 0dd2953 commit db981d6Copy full SHA for db981d6
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