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 f41e777

Browse filesBrowse files
committed
build: fix detection of Visual Studio 2019
If Visual Studio 2017 is not found, attempt to find Visual Studio 2019. PR-URL: #42349 Refs: https://github.blog/changelog/2021-10-19-github-actions-the-windows-2016-runner-image-will-be-removed-from-github-hosted-runners-on-march-15-2022/ Reviewed-By: Mestery <mestery@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 3901891 commit f41e777
Copy full SHA for f41e777

1 file changed

+1-1Lines changed: 1 addition & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
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
@@ -244,7 +244,7 @@ if %target_arch%==x86 if %msvs_host_arch%==x86 set vcvarsall_arg=x86
244244
if defined target_env if "%target_env%" NEQ "vs2017" goto vs-set-2019
245245
echo Looking for Visual Studio 2017
246246
call tools\msvs\vswhere_usability_wrapper.cmd "[15.0,16.0)"
247-
if "_%VCINSTALLDIR%_" == "__" goto msbuild-not-found
247+
if "_%VCINSTALLDIR%_" == "__" goto vs-set-2019
248248
if defined msi (
249249
echo Looking for WiX installation for Visual Studio 2017...
250250
if not exist "%WIX%\SDK\VS2017" (

0 commit comments

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