Error trying to build
I have this errors:
ConfigManager.cs(72,19): error CS1525: Unexpected symbol 'throw'
ConfigManager.cs(74,19): error CS1525: Unexpected symbol 'throw'
ConfigManager.cs(76,19): error CS1525: Unexpected symbol 'throw'
I have mono 4.6.2
Mono JIT compiler version 4.6.2 (Debian 4.6.2.7+dfsg-1ubuntu1)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen
+1
The mono compiler version on your system doesn't support the null-coalescing operator in combination with a throw statement. This could be solved by upgrading your mono version.
But since many distros have slightly outdated versions of mono in their repos, I've decided to fix this problem, see: 3b1721f5d862baa4f6521d45e423098cfef2e577
I've update the project and try to build again. The error now is another:
CSC: error CS0518: The predefined type System.Object' is not defined or imported
CSC: error CS0518: The predefined type System.ValueType' is not defined or imported
CSC: error CS0518: The predefined type System.Attribute' is not defined or imported
CSC: error CS0518: The predefined type System.Int32' is not defined or imported
CSC: error CS0518: The predefined type System.UInt32' is not defined or imported
CSC: error CS0518: The predefined type System.Int64' is not defined or imported
CSC: error CS0518: The predefined type System.UInt64' is not defined or imported
CSC: error CS0518: The predefined type System.Single' is not defined or imported
CSC: error CS0518: The predefined type System.Double' is not defined or imported
CSC: error CS0518: The predefined type System.Char' is not defined or imported
CSC: error CS0518: The predefined type System.Int16' is not defined or imported
CSC: error CS0518: The predefined type System.Decimal' is not defined or imported
CSC: error CS0518: The predefined type System.Boolean' is not defined or imported
CSC: error CS0518: The predefined type System.SByte' is not defined or imported
CSC: error CS0518: The predefined type System.Byte' is not defined or imported
CSC: error CS0518: The predefined type System.UInt16' is not defined or imported
CSC: error CS0518: The predefined type System.String' is not defined or imported
CSC: error CS0518: The predefined type System.Enum' is not defined or imported
CSC: error CS0518: The predefined type System.Delegate' is not defined or imported
CSC: error CS0518: The predefined type System.MulticastDelegate' is not defined or imported
CSC: error CS0518: The predefined type System.Void' is not defined or imported
CSC: error CS0518: The predefined type System.Array' is not defined or imported
CSC: error CS0518: The predefined type System.Type' is not defined or imported
CSC: error CS0518: The predefined type System.Collections.IEnumerator' is not defined or imported
CSC: error CS0518: The predefined type System.Collections.IEnumerable' is not defined or imported
CSC: error CS0518: The predefined type System.IDisposable' is not defined or imported
CSC: error CS0518: The predefined type System.IntPtr' is not defined or imported
CSC: error CS0518: The predefined type System.UIntPtr' is not defined or imported
CSC: error CS0518: The predefined type System.RuntimeFieldHandle' is not defined or imported
CSC: error CS0518: The predefined type System.RuntimeTypeHandle' is not defined or imported
CSC: error CS0518: The predefined type `System.Exception' is not defined or imported
I'm using linux 64bit with mono-complete package
Solved by updating mono-complete package: http://www.mono-project.com/download/