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 @@ -250,7 +250,7 @@ echo Looking for Visual Studio 2019
250250@ rem cleared first as vswhere_usability_wrapper.cmd doesn't when it fails to
251251@ rem detect the version searched for
252252if not defined target_env set " VCINSTALLDIR = "
253- call tools\msvs\vswhere_usability_wrapper.cmd " [16.0,17.0)"
253+ call tools\msvs\vswhere_usability_wrapper.cmd " [16.0,17.0)" " prerelease "
254254if " _%VCINSTALLDIR% _" == " __" goto msbuild-not-found
255255set " WIXSDKDIR = %WIX% \SDK\VS2017"
256256if defined msi (
You can’t perform that action at this time.
0 commit comments