1 @if not defined _echo @echo off
4 set "__ProjectDir=%~dp0"
6 call "%__ProjectDir%"\setup_vs_tools.cmd
8 REM setup_vs_tools.cmd will correctly echo error message.
9 if NOT '%ERRORLEVEL%' == '0' exit /b 1
11 :: Clear the 'Platform' env variable for this session, as it's a per-project setting within the build, and
12 :: misleading value (such as 'MCD' in HP PCs) may lead to build breakage (issue: #69).
16 :: Restore the Tools directory
17 call %~dp0init-tools.cmd
18 if NOT [%ERRORLEVEL%]==[0] (
23 echo Running: msbuild.exe %*
26 if NOT [%ERRORLEVEL%]==[0] (