forked from danikf/tik4net
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCreateRelease.bat
48 lines (42 loc) · 3.34 KB
/
CreateRelease.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
37
38
39
40
41
42
43
44
45
46
47
48
ECHO !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ECHO Must be run from VisualStudio 2015 command prompt
ECHO !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
mkdir ..\release
mkdir ..\release\NET-3.5
mkdir ..\release\NET-4.0
mkdir ..\release\Tools
REM .NET 3.5
msbuild.exe tik4net/tik4net.csproj /p:DefineConstants="V35";TargetFrameworkVersion=v3.5;Configuration=Release /tv:4.0 /t:Clean
msbuild.exe tik4net.objects/tik4net.objects.csproj /p:DefineConstants="V35";TargetFrameworkVersion=v3.5;Configuration=Release /tv:4.0 /t:Clean
msbuild.exe tik4net/tik4net.csproj /p:DefineConstants="V35";TargetFrameworkVersion=v3.5;Configuration=Release /tv:4.0 /t:Rebuild
msbuild.exe tik4net.objects/tik4net.objects.csproj /p:DefineConstants="V35";TargetFrameworkVersion=v3.5;Configuration=Release /tv:4.0 /t:Rebuild
copy tik4net\bin\Release\tik4net.dll ..\release\NET-3.5\ /Y
copy tik4net.objects\bin\Release\tik4net.objects.dll ..\release\NET-3.5\ /Y
REM .NET 4.0
msbuild.exe tik4net/tik4net.csproj /p:DefineConstants="V40";TargetFrameworkVersion=v4.0;Configuration=Release /tv:4.0 /t:Clean
msbuild.exe tik4net.objects/tik4net.objects.csproj /p:DefineConstants="V40";TargetFrameworkVersion=v4.0;Configuration=Release /tv:4.0 /t:Clean
msbuild.exe tik4net/tik4net.csproj /p:DefineConstants="V40";TargetFrameworkVersion=v4.0;Configuration=Release /tv:4.0 /t:Rebuild
msbuild.exe tik4net.objects/tik4net.objects.csproj /p:DefineConstants="V40";TargetFrameworkVersion=v4.0;Configuration=Release /tv:4.0 /t:Rebuild
copy tik4net\bin\Release\tik4net.dll ..\release\NET-4.0\ /Y
copy tik4net.objects\bin\Release\tik4net.objects.dll ..\release\NET-4.0\ /Y
REM .NET 4.5.2 (or defined in *.csproj)
msbuild.exe tik4net/tik4net.csproj /p:Configuration=Release /t:Clean
msbuild.exe tik4net.objects/tik4net.objects.csproj /p:Configuration=Release /t:Clean
msbuild.exe tik4net/tik4net.csproj /p:Configuration=Release /t:Rebuild
msbuild.exe tik4net.objects/tik4net.objects.csproj /p:Configuration=Release /t:Rebuild
copy tik4net\bin\Release\tik4net.dll ..\release\ /Y
copy tik4net.objects\bin\Release\tik4net.objects.dll ..\release\ /Y
REM tools
msbuild.exe Tools\tik4net.entitygenerator\tik4net.entitygenerator.csproj /p:Configuration=Release /t:Clean
msbuild.exe Tools\tik4net.entitygenerator\tik4net.entitygenerator.csproj /p:Configuration=Release /t:Rebuild
msbuild.exe Tools\tik4net.entityWikiImporter\tik4net.entityWikiImporter.csproj /p:Configuration=Release /t:Clean
msbuild.exe Tools\tik4net.entityWikiImporter\tik4net.entityWikiImporter.csproj /p:Configuration=Release /t:Rebuild
copy tik4net\bin\Release\tik4net.dll ..\release\Tools\ /Y
copy tik4net.objects\bin\Release\tik4net.objects.dll ..\release\Tools\ /Y
copy Tools\tik4net.entityWikiImporter\bin\Release\HtmlAgilityPack.dll ..\release\Tools\ /Y
copy Tools\tik4net.entityWikiImporter\bin\Release\tik4net.entityWikiImporter.exe.config ..\release\Tools\ /Y
copy Tools\tik4net.entityWikiImporter\bin\Release\tik4net.entityWikiImporter.exe ..\release\Tools\ /Y
copy Tools\tik4net.entityWikiImporter\bin\Release\info.txt ..\release\Tools\entityWikiImporter.info.txt /Y
copy Tools\tik4net.entitygenerator\bin\Release\tik4net.entitygenerator.exe.config ..\release\Tools\ /Y
copy Tools\tik4net.entitygenerator\bin\Release\tik4net.entitygenerator.exe ..\release\Tools\ /Y
copy Tools\tik4net.entitygenerator\bin\Release\info.txt ..\release\Tools\entitygenerator.info.txt /Y