Skip to content

Commit

Permalink
Fixed detection of VS2017InstallPath when both, Visual Studio 2017 an…
Browse files Browse the repository at this point in the history
…d 2019 are installed (#80)
  • Loading branch information
4vomAst authored and amaitland committed Oct 1, 2019
1 parent 78062bc commit 289f43e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ try

Write-Diagnostic "VSWhere path $vswherePath"

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

Write-Diagnostic "VS2017InstallPath: $VS2017InstallPath"

Expand Down

0 comments on commit 289f43e

Please sign in to comment.