This is all a bit of an unforseen consequence of mono 2.10 having the 4.0 
profile as the default target.

gmcs now has a "-sdk" option,  which defaults to 4.  So unless you add '-sdk:2' 
to your command line monodevelop and other things will silently build against 
the 4.0 profile .

I had terrible fun trying to work out what was broken after re-building 
gtk-sharp one day, all my gtk-sharp things stopped working.

I've had to create a small shell script to set -sdk:2 by default when running 
gmcs ( I don't want 4 yet )

________________________________________
From: [email protected] [[email protected]] 
On Behalf Of Chris Derrick [[email protected]]
Sent: 29 September 2011 21:09
To: [email protected]
Subject: Re: [Mono-list] Method not found: 'System.Threading.Monitor.Enter      
'

Thanks, that was it.  I guess that I must have upgraded mono-devel at the
same time which in turn changed the runtime version of my solution.

Thanks again!

--
View this message in context: 
http://mono.1490590.n4.nabble.com/Method-not-found-System-Threading-Monitor-Enter-tp3857390p3857512.html
Sent from the Mono - General mailing list archive at Nabble.com.
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to