Skip to content

Instantly share code, notes, and snippets.

@Wesley-Lomax
Created July 30, 2015 10:03
Show Gist options
  • Save Wesley-Lomax/03cc7df0d0433a8b0105 to your computer and use it in GitHub Desktop.
Save Wesley-Lomax/03cc7df0d0433a8b0105 to your computer and use it in GitHub Desktop.
Batch file to run xml configuration building multiple projects
@echo off
IF EXIST "%ProgramFiles(x86)%" (
call "%ProgramFiles(x86)%\Microsoft Visual Studio 12.0\VC\vcvarsall.bat"
) ELSE (
call "%ProgramFiles%\Microsoft Visual Studio 12.0\VC\vcvarsall.bat"
)
ECHO "Building all projects"
msbuild.exe BuildMultipleSolutions.xml /t:Build /m /p:RunCodeAnalysis=false /verbosity:minimal /fileLogger /flp:logfile=BuildMultipleSolutions.log;verbosity=minimal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment