File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 5
5
6
6
@ if not defined DEBUG_HELPER @ ECHO OFF
7
7
setlocal
8
- if " %~1 " == " prerelease" set VSWHERE_WITH_PRERELEASE = 1
8
+ if " %~2 " == " prerelease" set VSWHERE_WITH_PRERELEASE = 1
9
9
set " InstallerPath = %ProgramFiles(x86)% \Microsoft Visual Studio\Installer"
10
10
if not exist " %InstallerPath% " set " InstallerPath = %ProgramFiles% \Microsoft Visual Studio\Installer"
11
11
if 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
250
250
@ rem cleared first as vswhere_usability_wrapper.cmd doesn't when it fails to
251
251
@ rem detect the version searched for
252
252
if 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 "
254
254
if " _%VCINSTALLDIR% _" == " __" goto msbuild-not-found
255
255
set " WIXSDKDIR = %WIX% \SDK\VS2017"
256
256
if defined msi (
You can’t perform that action at this time.
0 commit comments