File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 55
66@if not defined DEBUG_HELPER @ECHO OFF
77setlocal
8- if "%~1 "=="prerelease" set VSWHERE_WITH_PRERELEASE=1
8+ if "%~2 "=="prerelease" set VSWHERE_WITH_PRERELEASE=1
99set "InstallerPath=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer"
1010if not exist "%InstallerPath%" set "InstallerPath=%ProgramFiles%\Microsoft Visual Studio\Installer"
1111if not exist "%InstallerPath%" goto :no-vswhere
Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ echo Looking for Visual Studio 2019
249249@rem cleared first as vswhere_usability_wrapper.cmd doesn't when it fails to
250250@rem detect the version searched for
251251if not defined target_env set "VCINSTALLDIR="
252- call tools\msvs\vswhere_usability_wrapper.cmd "[16.0,17.0)"
252+ call tools\msvs\vswhere_usability_wrapper.cmd "[16.0,17.0)" "prerelease"
253253if "_%VCINSTALLDIR%_" == "__" goto vs-set-2017
254254set "WIXSDKDIR=%WIX%\SDK\VS2017"
255255if defined msi (
You can’t perform that action at this time.
0 commit comments