-
Notifications
You must be signed in to change notification settings - Fork 1
/
Compile.MONO.bat
72 lines (42 loc) · 1.52 KB
/
Compile.MONO.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
@SET CURPATH=%~dp0
@SET CSCPATH=%windir%\Microsoft.NET\Framework\v4.0.30319\
@SET SRVPATH=%CURPATH%Server\
@SET SCRPATH=%CURPATH%Scripts\
@TITLE: JustUO - http://www.PlayUO.org
::##########
@ECHO:
@ECHO: Ready to compile JustUO (MONO)
@ECHO:
@PAUSE
::#Append .MONO for people who test on WIN and host on MONO
@DEL "%CURPATH%JustUO.MONO.exe"
@ECHO ON
%CSCPATH%csc.exe /win32icon:"%SRVPATH%justuo.ico" /r:"%CURPATH%OpenUO.Core.dll" /r:"%CURPATH%OpenUO.Ultima.dll" /r:"%CURPATH%OpenUO.Ultima.Windows.Forms.dll" /r:"%CURPATH%SevenZipSharp.dll" /target:exe /out:"%CURPATH%JustUO.MONO.exe" /recurse:"%SRVPATH%*.cs" /d:MONO /d:JustUO /d:Framework_4_0 /d:NEWTIMERS /d:NEWPARENT /nowarn:618,169,219,414,618,429,162,252,849,1717,612,108,109,649 /debug /nologo /optimize /unsafe
@ECHO OFF
@ECHO:
@ECHO: Done!
@ECHO:
@PAUSE
@CLS
::##########
@ECHO:
@ECHO: Ready to compile Scripts (MONO)
@ECHO:
@PAUSE
@DEL "%SCRPATH%Output\Scripts.CS.dll"
@ECHO ON
%CSCPATH%csc.exe /r:"%CURPATH%JustUO.MONO.exe" /r:"%CURPATH%OpenUO.Core.dll" /r:"%CURPATH%OpenUO.Ultima.dll" /r:"%CURPATH%OpenUO.Ultima.Windows.Forms.dll" /r:"%CURPATH%SevenZipSharp.dll" /target:library /out:"%SCRPATH%Output\Scripts.CS.dll" /recurse:"%SCRPATH%*.cs" /d:MONO /d:JustUO /d:Framework_4_0 /d:NEWTIMERS /d:NEWPARENT /nowarn:618,169,219,414,618,429,162,252,849,1717,612,108,109,649 /debug /nologo /optimize /unsafe
@ECHO OFF
@ECHO:
@ECHO: Done!
@ECHO:
@PAUSE
@CLS
::##########
@ECHO:
@ECHO: Ready to launch JustUO (MONO)
@ECHO:
@PAUSE
@CLS
@ECHO OFF
%CURPATH%JustUO.MONO.exe