Skip to content

Instantly share code, notes, and snippets.

@rnelson
Created July 31, 2012 13:32
Show Gist options
  • Save rnelson/3217064 to your computer and use it in GitHub Desktop.
Save rnelson/3217064 to your computer and use it in GitHub Desktop.
VB batch build via MSBuild
@ECHO OFF
REM Make sure to set up those platforms under Build > Configuration Manager before
REM running this.
set PROJFILE=MyAwesomeApp.sln
msbuild %PROJFILE% /nologo /t:Rebuild /p:Configuration=Debug;Platform=x86;RunCodeAnalysis=False
msbuild %PROJFILE% /nologo /t:Rebuild /p:Configuration=Release;Platform=x86;RunCodeAnalysis=False
msbuild %PROJFILE% /nologo /t:Rebuild /p:Configuration=Debug;Platform=x64;RunCodeAnalysis=False
msbuild %PROJFILE% /nologo /t:Rebuild /p:Configuration=Release;Platform=x64;RunCodeAnalysis=False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment