@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 "%~dp0..\BizTalkPlatformManagementTool.sln" /p:Configuration=Release /p:Platform="Any CPU" /m:1 /v:minimal exit /b %ERRORLEVEL%