diff --git a/bootstrap.ps1 b/bootstrap.ps1 index 7215d42..0209a75 100644 --- a/bootstrap.ps1 +++ b/bootstrap.ps1 @@ -1,4 +1,4 @@ -$installationPath = .\third-party\bin\vswhere.exe -nologo -prerelease -latest -property installationPath +$installationPath = .\third-party\bin\vswhere.exe -products * -nologo -prerelease -latest -property installationPath if (! $?) { Write-Error "vswhere returned $LastExitCode" exit $LastExitCode diff --git a/src/conf.cpp b/src/conf.cpp index 80972b2..e5310fe 100644 --- a/src/conf.cpp +++ b/src/conf.cpp @@ -592,6 +592,7 @@ fs::path find_vs() auto p = process() .binary(vs::vswhere()) + .arg("-products", "*") .arg("-prerelease") .arg("-version", vs::version()) .arg("-property", "installationPath")