Fossil SCM

When using the VsWhere tool, require the MSVC toolset, not MSBuild.

mistachkin 2021-03-18 03:22 trunk
Commit 9cd7d67da0f98a6484b156c1d71f47191f03ecfc60b7f915a21fc59b9b5e5ae0
1 file changed +1 -1
--- win/buildmsvc.bat
+++ win/buildmsvc.bat
@@ -363,11 +363,11 @@
363363
:skip_setVsWhereExe
364364
IF NOT EXIST "%VSWHERE_EXE%" (
365365
%_AECHO% The "VsWhere" tool does not appear to be installed.
366366
GOTO :EOF
367367
)
368
- SET VS_WHEREIS_CMD="%VSWHERE_EXE%" -products * -requires Microsoft.Component.MSBuild -property installationPath -latest
368
+ SET VS_WHEREIS_CMD="%VSWHERE_EXE%" -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath -latest
369369
IF DEFINED __ECHO (
370370
%__ECHO% %VS_WHEREIS_CMD%
371371
REM
372372
REM NOTE: This will not be executed, any reasonable fake path will work.
373373
REM
374374
--- win/buildmsvc.bat
+++ win/buildmsvc.bat
@@ -363,11 +363,11 @@
363 :skip_setVsWhereExe
364 IF NOT EXIST "%VSWHERE_EXE%" (
365 %_AECHO% The "VsWhere" tool does not appear to be installed.
366 GOTO :EOF
367 )
368 SET VS_WHEREIS_CMD="%VSWHERE_EXE%" -products * -requires Microsoft.Component.MSBuild -property installationPath -latest
369 IF DEFINED __ECHO (
370 %__ECHO% %VS_WHEREIS_CMD%
371 REM
372 REM NOTE: This will not be executed, any reasonable fake path will work.
373 REM
374
--- win/buildmsvc.bat
+++ win/buildmsvc.bat
@@ -363,11 +363,11 @@
363 :skip_setVsWhereExe
364 IF NOT EXIST "%VSWHERE_EXE%" (
365 %_AECHO% The "VsWhere" tool does not appear to be installed.
366 GOTO :EOF
367 )
368 SET VS_WHEREIS_CMD="%VSWHERE_EXE%" -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath -latest
369 IF DEFINED __ECHO (
370 %__ECHO% %VS_WHEREIS_CMD%
371 REM
372 REM NOTE: This will not be executed, any reasonable fake path will work.
373 REM
374

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button