Exception error when I launch the server


#1

Hello,

I’m trying to make a server on Debian 8 and i encounter this error :

Missing method System.Array::Empty<[1]>() in assembly /usr/lib/mono/4.5/mscorlib.dll, referenced in assembly /home/fivem-server/CitizenMP.Server.exe

Unhandled Exception:
System.MissingMethodException: Method not found: 'System.Array.Empty'.
  at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[<Start>d__4] (CitizenMP.Server.<Start>d__4& stateMachine) [0x00000] in <filename unknown>:0
  at CitizenMP.Server.Program.Start (System.String configFileName) [0x00000] in <filename unknown>:0
  at CitizenMP.Server.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.MissingMethodException: Method not found: 'System.Array.Empty'.
  at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[<Start>d__4] (CitizenMP.Server.<Start>d__4& stateMachine) [0x00000] in <filename unknown>:0
  at CitizenMP.Server.Program.Start (System.String configFileName) [0x00000] in <filename unknown>:0
  at CitizenMP.Server.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0

Do you know what happened? And can you help me?
Thanks a lot!


#2

Install the latest Mono from the Xamarin repositories: http://www.mono-project.com/docs/getting-started/install/linux/