[Mono-bugs] [Bug 567766] Mono.Linker.ResolutionException: Can not resolve reference: System.Boolean System.Threading.ManualResetEvent::Set()

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Dec 31 03:47:56 EST 2009


http://bugzilla.novell.com/show_bug.cgi?id=567766

http://bugzilla.novell.com/show_bug.cgi?id=567766#c1


Jb Evain <jbevain at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jbevain at novell.com
           Severity|Critical                    |Normal

--- Comment #1 from Jb Evain <jbevain at novell.com> 2009-12-31 08:47:52 UTC ---
ManualResetEvent::Set is a method that only exists in .net 1.1. You are using
an assembly that has not been compiled for MonoTouch, and that uses methods
that don't exist anymore.

At execution, you would get a MethodMissingException if the code path
containing the call is triggered. The linker can not know if the code path will
be triggered.

All assemblies in the lib folder of your solution are compiled against .net
1.1, and Org.Mentalis.Security.dll contains the call to the method that doesn't
exist in higher profiles. You should at least try to get a version compiled
against .net 2.0 of this assembly.

The workaround in the meantime is to set the linker behavior to Not Link.
(-nolink).

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list