[Mono-list] Method not found: 'System.Threading.Monitor.Enter'
Chris Derrick
Chris.derrick at storagecraft.com
Thu Sep 29 15:37:10 EDT 2011
I'm running Ubuntu 10.04 and I wrote a service that worked correctly on
mono-2.0-service version 2.6.7-5ubuntu1~dhx1 (which I installed through
http://badgerports.org/), but I was prompted to update to
2.10.5-1~dhx1~lucid1 and now the service is throwing this error:
mono-service2 Sample.exe --debug
Missing method System.Threading.Monitor::Enter(object,bool&) in assembly
/usr/lib/mono/2.0/mscorlib.dll, referenced in assembly Sample.exe
Unhandled Exception: System.MissingMethodException: Method not found:
'System.Threading.Monitor.Enter'.
at System.Threading.Thread.StartUnsafe () [0x00000] in <filename
unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.MissingMethodException: Method not
found: 'System.Threading.Monitor.Enter'.
at System.Threading.Thread.StartUnsafe () [0x00000] in <filename
unknown>:0
The service does not even reach its first line of code anymore. Any ideas
why this might be happening?
--
View this message in context: http://mono.1490590.n4.nabble.com/Method-not-found-System-Threading-Monitor-Enter-tp3857390p3857390.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list
mailing list