This project is read-only.

MissingMethodException

Feb 24, 2009 at 8:33 PM
Exception when start server

System.MissingMethodException was unhandled
  Message="Method not found: 'Boolean System.Threading.WaitHandle.WaitOne(Int32)'."
  Source="HttpServer"
  StackTrace:
       en HttpServer.RequestQueue.QueueThread()
       en System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       en System.Threading.ThreadHelper.ThreadStart()
  InnerException:
Feb 25, 2009 at 4:39 PM
Solved
Feb 25, 2009 at 4:46 PM
what was it?
Feb 25, 2009 at 7:08 PM
I download change set 18611 and change this line _event.WaitOne(Timeout.Infinite) to this _event.WaitOne(Timeout.Infinite,true);
the previous did not present this method and was missing a parameter in the call
Feb 26, 2009 at 7:06 AM
is it on mono or what? Since the code compiled fine here.
Feb 26, 2009 at 8:22 AM
I believe it's due to a .NET 2.0 SP dependency being introduced: http://groups.google.com/group/ausdotnetlist/browse_thread/thread/0a1e7a7351c03939.
Feb 26, 2009 at 6:55 PM
Yes, .NET 2.0. WaitHandle.WaitOne(Int32) introduces in .NET 3.5