Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (20 sloc) 655 Bytes
@echo off
setlocal
set VCVARSALL="C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"
set SLN="%~dp0\CloudFoundry.Net.sln"
if not exist %VCVARSALL% (
echo Required file %VCVARSALL% not found.
exit 1
)
if not exist %SLN% (
echo Required file %SLN% not found.
exit 1
)
rem Prevent this from being run multiple times on a dev machine
if "%DevEnvDir%"=="" (
call %VCVARSALL% x86
)
powershell -nologo -file clean.ps1
msbuild /v:n /t:build /p:Configuration=Debug /p:Platform="Any CPU" %SLN%
msbuild /v:n /t:build /p:Configuration=Release /p:Platform="Any CPU" %SLN%
exit /b %ERRORLEVEL%