[MonoTouch] Can not resolve reference: System.Boolean System.Double::op_Inequality(System.Double, System.Double)
Robert Jordan
robertj at gmx.net
Mon Oct 3 09:15:46 EDT 2011
On 03.10.2011 15:06, Hugo Logmans wrote:
> Hi all,
>
> I'm using Monodevelop 2.6b1 with Delphi Prism on MacOSX, latest monotouch
> version. When linking, or when not linking but running the app, I get
> missing methods errors. Googling around, most of the time the problem is a
> certain user library is not linked against Monotouch. But in this case it's
> a very simple program and no user libraries are used (except maybe Delphi
> Prism is a user library).
>
> Also the strange thing is it always are internal methods like op_Inequality,
> so I cannot add [preserve] to them.
>
> Could not link assemblies: Mono.Linker.ResolutionException: Can not resolve
> reference: System.Boolean
> System.Double::op_Inequality(System.Double,System.Double)
>
> And two others: Double::op_Lessthan and Typeinfo.Equality. As my program is
> growing, I might encounter more of them...
>
> Maybe anybody has a clue as where to search for the cause of this problem?
> Or is it solely a Prism bug?
System.Double::op_Inequality(System.Double,System.Double) is a
method introduced with .NET 4.0 that doesn't exist in the
Silverlight profile used by MonoTouch.
To make it short: you can't take a library compiled against
some random desktop profiles and hope that it will just work
under MonoTouch.
Robert
More information about the MonoTouch
mailing list