Skip to content

Commit 289f43e

Browse files
4vomAstamaitland
authored andcommitted
Fixed detection of VS2017InstallPath when both, Visual Studio 2017 and 2019 are installed (#80)
1 parent 78062bc commit 289f43e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ try
293293

294294
Write-Diagnostic "VSWhere path $vswherePath"
295295

296-
$VS2017InstallPath = & $vswherePath -version 15 -property installationPath
296+
$VS2017InstallPath = & $vswherePath -version '[15.0,16.0)' -property installationPath
297297

298298
Write-Diagnostic "VS2017InstallPath: $VS2017InstallPath"
299299

0 commit comments

Comments
 (0)