This repository was archived by the owner on Jan 23, 2023. It is now read-only.
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 @@ -21,7 +21,7 @@ if defined VisualStudioVersion goto :Run
2121
2222set _VSWHERE = " %ProgramFiles(x86)% \Microsoft Visual Studio\Installer\vswhere.exe"
2323if exist %_VSWHERE% (
24- for /f " usebackq tokens=*" %%i in (`%_VSWHERE% -latest -property installationPath`) do set _VSCOMNTOOLS = %%i \Common7\Tools
24+ for /f " usebackq tokens=*" %%i in (`%_VSWHERE% -latest -prerelease - property installationPath`) do set _VSCOMNTOOLS = %%i \Common7\Tools
2525)
2626if not exist " %_VSCOMNTOOLS% " set _VSCOMNTOOLS = %VS140COMNTOOLS%
2727if not exist " %_VSCOMNTOOLS% " (
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ if defined VisualStudioVersion goto :RunVCVars
5858
5959set _VSWHERE = " %ProgramFiles(x86)% \Microsoft Visual Studio\Installer\vswhere.exe"
6060if exist %_VSWHERE% (
61- for /f " usebackq tokens=*" %%i in (`%_VSWHERE% -latest -property installationPath`) do set _VSCOMNTOOLS = %%i \Common7\Tools
61+ for /f " usebackq tokens=*" %%i in (`%_VSWHERE% -latest -prerelease - property installationPath`) do set _VSCOMNTOOLS = %%i \Common7\Tools
6262)
6363if not exist " %_VSCOMNTOOLS% " set _VSCOMNTOOLS = %VS140COMNTOOLS%
6464if not exist " %_VSCOMNTOOLS% " goto :MissingVersion
You can’t perform that action at this time.
0 commit comments