mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-19 02:01:19 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
25
tldr/windows/vswhere
Normal file
25
tldr/windows/vswhere
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, windows]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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\Buildcvarsall.bat`
|
||||
|
||||
- Find the directory of the x64 MSVC compiler (cl.exe, etc):
|
||||
|
||||
`vswhere -products * -latest -prerelease -find **\Hostx64d\*`
|
||||
|
||||
- Find the directory of Clang bundled with Visual Studio bundled (clang-cl, clang-tidy, etc):
|
||||
|
||||
`vswhere -products * -latest -prerelease -find **\Llvmin\*`
|
||||
|
||||
- Find the path of `MSBuild.exe`:
|
||||
|
||||
`vswhere -products * -latest -prerelease -find MSBuild\**\Bin\MSBuild.exe`
|
||||
Reference in New Issue
Block a user