- @echo off
- type build.logo
- echo finding Visual Studio...
- rem VS2017U2 contains vswhere.exe
- if "%VSWHERE%"=="" set "VSWHERE=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
- for /f "usebackq tokens=*" %%i in (`"%VSWHERE%" -latest -products * -requires Microsoft.Component.MSBuild -property installationPath`) do (
- set InstallDir=%%i
- )
|