Set msBuildExe = " %InstallDir%\MSBuild\ %%v\Bin\MSBuild.exe " If exist " %InstallDir%\MSBuild\ %%v\Bin\MSBuild.exe " ( :: without ENABLEEXTENSIONS, %InstallDir% is only available outside the above loop. :: `C:\Program Files (x86)\Microsoft Visual Studio 14.0\`įor /f "usebackq tokens=* " %%i in (`vswhere -latest -products * -requires -property installationPath`) do ( :: Normal output example of `vswhere -legacy -latest -property installationPath` has no trailing back-slash: Learn more about bidirectional Unicode echo off To review, open the file in an editor that reveals hidden Unicode characters. This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |