@echo off setlocal where msbuild.exe >nul 2>nul if errorlevel 1 ( echo MSBuild.exe was not found in PATH. Run this from a Visual Studio Developer Command Prompt. exit /b 1 ) msbuild BizTalkCheckmkPulse.sln /p:Configuration=Release /p:Platform="Any CPU" /m /v:minimal exit /b %ERRORLEVEL%