document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. @echo off
  2.  
  3. set MSBuildFile=BUILD_FILE_NAME_GOES_HERE
  4. set MSBuildArgs=/target:TARGET_GOES_HERE /property:Configuration=Release
  5. set MSBuildPath=%windir%\\Microsoft.NET\\Framework\\v4.0.30319\\MSBuild.exe
  6.  
  7. echo Trying to update source code by using TortoiseProc (a part of the TortoiseSVN)
  8. 2>NUL TortoiseProc /command:update /path:. /closeonend:4
  9.  
  10. IF NOT EXIST %MSBuildPath% GOTO NOTINSTALLED
  11.  
  12. echo Executing MSBuild
  13. %MSBuildPath% %MSBuildFile% %MSBuildArgs%
  14. GOTO END
  15.  
  16. :NOTINSTALLED
  17. 1>&2 echo **ERROR** MSBuild wasn\'t found at the following location %MSBuildPath%. Please install corresponding version of the .NET Framework  
  18.  
  19. :END
');