Fossil SCM
When using the VsWhere tool, require the MSVC toolset, not MSBuild.
Commit
9cd7d67da0f98a6484b156c1d71f47191f03ecfc60b7f915a21fc59b9b5e5ae0
Parent
84e2abea1c0a07f…
1 file changed
+1
-1
+1
-1
| --- win/buildmsvc.bat | ||
| +++ win/buildmsvc.bat | ||
| @@ -363,11 +363,11 @@ | ||
| 363 | 363 | :skip_setVsWhereExe |
| 364 | 364 | IF NOT EXIST "%VSWHERE_EXE%" ( |
| 365 | 365 | %_AECHO% The "VsWhere" tool does not appear to be installed. |
| 366 | 366 | GOTO :EOF |
| 367 | 367 | ) |
| 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 | |
| 369 | 369 | IF DEFINED __ECHO ( |
| 370 | 370 | %__ECHO% %VS_WHEREIS_CMD% |
| 371 | 371 | REM |
| 372 | 372 | REM NOTE: This will not be executed, any reasonable fake path will work. |
| 373 | 373 | REM |
| 374 | 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.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 |