Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 1d90ab2772
Fetching contributors…

Cannot retrieve contributors at this time

file 28 lines (20 sloc) 0.655 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
@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%
Something went wrong with that request. Please try again.