Skip to content

Instantly share code, notes, and snippets.

@JeremyMorgan
Created March 24, 2017 18:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JeremyMorgan/5ae1886b9198e1ebab17679e27685657 to your computer and use it in GitHub Desktop.
Save JeremyMorgan/5ae1886b9198e1ebab17679e27685657 to your computer and use it in GitHub Desktop.
Batch file for building VS projects
@echo off
call "%VS110COMNTOOLS%\..\..\VC\vcvarsall.bat"
:start
echo Build Start: %TIME:~0,2%:%TIME:~3,2%:%TIME:~6,2%.%TIME:~9,2%
%WINDIR%\Microsoft.NET\Framework\%FrameworkVersion%\msbuild.exe (.msbuildfile) (params)
:end
echo Build Completed: %TIME:~0,2%:%TIME:~3,2%:%TIME:~6,2%.%TIME:~9,2%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment