-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.cmd
31 lines (22 loc) · 805 Bytes
/
build.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
@echo off
rem Set the environment
if "%DevEnvDir%"=="" call "%VS100COMNTOOLS%..\..\VC\vcvarsall.bat"
set SubWCRev="C:\Program Files\TortoiseSVN\bin\SubWCRev.exe"
set ISCC="c:\apps\dev\Inno Setup 5\ISCC.exe"
cd %~dp0
rem Clean the current build
rem call clean
rem Update the version info
%SubWCRev% . GlobalAssemblyInfo.cs.in GlobalAssemblyInfo.cs
copy GlobalAssemblyInfo.cs ui\Properties\
copy GlobalAssemblyInfo.cs Decompiler\Properties\
del GlobalAssemblyInfo.cs
rem Build
msbuild ui\exceptionexplorer.csproj /m /t:Rebuild /p:Configuration=Release;OutDir=%~dp0/release/Build/
rem Sign the executables
%sign% release\build\ExceptionExplorer.exe release\build\Decompiler.dll
rem Move the debug info
mkdir release\pdb\
move release\build\*.pdb release\pdb\
%ISCC% setup\ExceptionExplorer.iss
pause