[VS detection] Add -products * flag to vswhere. This includes Express and BuildTools SKUs

This commit is contained in:
Alexander Karatarakis 2017-10-09 16:38:21 -07:00
parent d7c60c2048
commit ab7a1abc93

View File

@ -6,7 +6,7 @@ param(
$scriptsDir = split-path -parent $MyInvocation.MyCommand.Definition
$vswhereExe = & $scriptsDir\fetchDependency.ps1 "vswhere"
$output = & $vswhereExe -prerelease -legacy -format xml
$output = & $vswhereExe -prerelease -legacy -products * -format xml
[xml]$asXml = $output
$results = New-Object System.Collections.ArrayList