Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- set MSBuildFile=BUILD_FILE_NAME_GOES_HERE
- set MSBuildArgs=/target:TARGET_GOES_HERE /property:Configuration=Release
- set MSBuildPath=%windir%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
- echo Trying to update source code by using TortoiseProc (a part of the TortoiseSVN)
- 2>NUL TortoiseProc /command:update /path:. /closeonend:4
- IF NOT EXIST %MSBuildPath% GOTO NOTINSTALLED
- echo Executing MSBuild
- %MSBuildPath% %MSBuildFile% %MSBuildArgs%
- GOTO END
- :NOTINSTALLED
- 1>&2 echo **ERROR** MSBuild wasn't found at the following location %MSBuildPath%. Please install corresponding version of the .NET Framework
- :END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement