I have a NUnit Library project was created in Xamarin Studio. Tests in this project runs perfectly via Run Item from the IDE.
However, via the console, it fails.
Executed in Mac OSX:
nunit-console Test/bin/Debug/Test.dll
Resulted in:
System.TypeLoadException : Could not load type 'System.Collections.ObjectModel.ObservableCollection`1' from assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
Am I loading the wrong System.dll somewhere?
Environment variables: MONO_PATH=/Library/Frameworks/Mono.framework/Libraries/mono/4.5/