Added -products argument to vswhere

This commit is contained in:
MF
2020-06-25 22:58:33 +01:00
parent cb5265a1e8
commit 0fe719a547
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -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
+1
View File
@@ -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")