-
Notifications
You must be signed in to change notification settings - Fork 536
/
Copy path2 build demo.bat
36 lines (28 loc) · 1.15 KB
/
2 build demo.bat
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
32
33
34
35
36
@echo off
CD %~dp0
set verb=/verbosity:minimal
set msbuild=C:\Windows\Microsoft.Net\Framework\v4.0.30319\MSBuild.exe
set t_20=Configuration=Release;TargetFrameworkVersion=v2.0
set t_40=Configuration=Release;TargetFrameworkVersion=v4.0;TargetFrameworkProfile=client
set t_mono_20=%t_20%;DefineConstants=MONO
echo.
echo.
echo - BUILD WinForms...
echo.
%msbuild% ..\Source\Demo\WinForms\HtmlRenderer.Demo.WinForms.csproj /t:rebuild /p:%t_20%;OutputPath=..\..\..\Build\Release\Demo\WinForms %verb%
echo.
echo.
echo - BUILD Mono...
echo.
%msbuild% ..\Source\Demo\WinForms\HtmlRenderer.Demo.WinForms.csproj /t:rebuild /p:%t_mono_20%;OutputPath=..\..\..\Build\Release\Demo\Mono %verb%
echo.
echo.
echo - BUILD WPF...
echo.
%msbuild% ..\Source\Demo\WPF\HtmlRenderer.Demo.WPF.csproj /t:rebuild /p:%t_40%;OutputPath=..\..\..\Build\Release\Demo\WPF %verb%
echo.
echo - Handle outputs...
copy Release\Demo\WinForms\HtmlRendererWinFormsDemo.exe "Release\HtmlRenderer WinForms Demo.exe"
copy Release\Demo\Mono\HtmlRendererWinFormsDemo.exe "Release\HtmlRenderer Mono Demo.exe"
copy Release\Demo\WPF\HtmlRendererWpfDemo.exe "Release\HtmlRenderer WPF Demo.exe"
rmdir Release\Demo /s /q