ModernUO/README.md
2018-08-19 11:11:20 +08:00

1,004 B

ModernUO

Requirements

  • Build Server project
    • Building with Visual Studio for Windows will install DotNetCompilerPlatform automatically.

Building for Windows (Without Visual Studio)

C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc /optimize /unsafe /t:exe /out:RunUO.exe /win32icon:Server\runuo.ico /d:NEWTIMERS /d:NEWPARENT /recurse:Server\\*.cs

  • DotNetCompilerPlatform must be installed with the csc.exe file in the roslyn folder at the root of the repository.

Building for Mac/Linux (Without Visual Studio)

mcs -optimize+ -unsafe -t:exe -out:RunUO.exe -win32icon:Server/runuo.ico -nowarn:219,414 -d:NEWTIMERS -d:NEWPARENT -d:MONO -reference:System.Drawing -recurse:Server/*.cs

Running on Mac/Linux (MONO)

mono RunUO.exe