1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-28 19:39:50 +01:00
tldr/pages/windows/vswhere.md
Emily Grace Seville c52cc074d9
windows/*.md: make placeholders more compatible with CLIP ones (#9872)
* Make placeholders more compatible with CLIP ones

* Update pages/windows/doskey.md

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

* Update pages/windows/doskey.md

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

---------

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
2023-02-20 15:23:49 +08:00

670 B

vswhere

Locate Visual Studio 2017 and newer installations. More information: https://github.com/microsoft/vswhere.

  • Find the path of vcvarsall.bat to set environment variables:

vswhere -products * -latest -prerelease -find **\VC\Auxiliary\Build\vcvarsall.bat

  • Find the directory of the x64 MSVC compiler (cl.exe, etc):

vswhere -products * -latest -prerelease -find **\Hostx64\x64\*

  • Find the directory of Clang bundled with Visual Studio bundled (clang-cl, clang-tidy, etc):

vswhere -products * -latest -prerelease -find **\Llvm\bin\*

  • Find the path of MSBuild.exe:

vswhere -products * -latest -prerelease -find MSBuild\**\Bin\MSBuild.exe