-
Notifications
You must be signed in to change notification settings - Fork 136
Expand file tree
/
Copy pathBuild.bat
More file actions
29 lines (23 loc) · 787 Bytes
/
Build.bat
File metadata and controls
29 lines (23 loc) · 787 Bytes
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
@echo off
IF NOT DEFINED SHFBROOT (
echo Please install Sandcastle help file builder
echo https://shfb.codeplex.com/
pause
exit
)
echo Compiling...
%SystemRoot%\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe ActiveUp.Net.sln /p:Configuration=Retail /p:Platform="Any CPU"
%SystemRoot%\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe Build\Documentation.shfbproj /p:Configuration=Release
echo Preparing release...
IF NOT EXIST Release (
MKDIR Release
)
Del Release\*.* /Q /S
XCOPY "Class Library\bin\Retail\*.xml" Release\
XCOPY "Class Library\bin\Retail\*.dll" Release\
rem Samples shouldn't be released until they are fixed
rem XCOPY Samples Release\Samples /s /i /y
XCOPY Build\Help\Documentation.chm Release\
XCOPY COPYRIGHT.txt Release\
XCOPY LICENSE.txt Release\
PAUSE