Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4e3883e

Browse filesBrowse files
baruchirocodebytere
authored andcommitted
win,build,tools: support VS prerelease
PR-URL: #36033 Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent a6ef92b commit 4e3883e
Copy full SHA for 4e3883e

File tree

Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎tools/msvs/vswhere_usability_wrapper.cmd‎

Copy file name to clipboardExpand all lines: tools/msvs/vswhere_usability_wrapper.cmd
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
@if not defined DEBUG_HELPER @ECHO OFF
77
setlocal
8-
if "%~1"=="prerelease" set VSWHERE_WITH_PRERELEASE=1
8+
if "%~2"=="prerelease" set VSWHERE_WITH_PRERELEASE=1
99
set "InstallerPath=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer"
1010
if not exist "%InstallerPath%" set "InstallerPath=%ProgramFiles%\Microsoft Visual Studio\Installer"
1111
if not exist "%InstallerPath%" goto :no-vswhere
Collapse file

‎vcbuild.bat‎

Copy file name to clipboardExpand all lines: vcbuild.bat
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
252252
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"
254254
if "_%VCINSTALLDIR%_" == "__" goto msbuild-not-found
255255
set "WIXSDKDIR=%WIX%\SDK\VS2017"
256256
if defined msi (

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.