how do I compile RunUO Server with .NET Framework 4.0 under Linux/Debian? I tried simply changing the usual compile command by adding -d:Framework_4_0 but I get:
./Main.cs(32,24): error CS0234: The type or namespace name `Tasks' does not exist in the namespace `System.Threading'. Are you missing an assembly reference?
I know this should be included and probably I do not have .NET 4.0 features in my Mono.
I used the command:
mono-csc -out:../RunUO.exe -d:MONO -d:Framework_4_0 -optimize+ -unsafe -r:System,System.Configuration.Install,System.Data,System.Drawing,System.EnterpriseServices,System.Management,System.Security,System.ServiceProcess,System.Web,System.Web.Services,System.Windows.Forms,System.Xml -nowarn:219 -recurse:*.cs
and mono --version gives:
Mono JIT compiler version 2.6.7 (Debian 2.6.7-4~bpo50+2)
Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
TLS: __thread
GC: Included Boehm (with typed GC and Parallel Mark)
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
What is missing here?
./Main.cs(32,24): error CS0234: The type or namespace name `Tasks' does not exist in the namespace `System.Threading'. Are you missing an assembly reference?
I know this should be included and probably I do not have .NET 4.0 features in my Mono.
I used the command:
mono-csc -out:../RunUO.exe -d:MONO -d:Framework_4_0 -optimize+ -unsafe -r:System,System.Configuration.Install,System.Data,System.Drawing,System.EnterpriseServices,System.Management,System.Security,System.ServiceProcess,System.Web,System.Web.Services,System.Windows.Forms,System.Xml -nowarn:219 -recurse:*.cs
and mono --version gives:
Mono JIT compiler version 2.6.7 (Debian 2.6.7-4~bpo50+2)
Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
TLS: __thread
GC: Included Boehm (with typed GC and Parallel Mark)
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
What is missing here?