[Mono-osx] Working with delegates

Miguel de Icaza miguel at novell.com
Thu Dec 2 12:31:04 EST 2010


I am afraid I can not, I do not know what you did on your system that would
emit that error at runtime.

What it means is that your compiler is bilding against one library, but
deploys a different one.   Not sure why.

Perhaps you are using Git, but have not updated the plugin version, which
lives somewhere in ~/.config

On Thu, Dec 2, 2010 at 11:36 AM, flohei <flo at rootof.net> wrote:

> I'm not exactly sure if I know what you mean by that. I just re-installed
> (and updated) my MonoDevelop to the trunk build released on Nov. 24th but
> that didn't fix that issue for me. Can you point me in the right direction?
>
> Thanks
> –f
>
> On 02.12.2010, at 16:20, Miguel de Icaza [via Mono] wrote:
>
>
>> But after that the compiler tells me, that it cannot implicitly convert
>> MyWindowController to NSWindowDelegate. Yeah, sure. So why not just use
>>
>>        Window.WeakDelegate = this;?
>>
>
> This is what you need.
>
>
>> This one throws no error at compile time but when I try to open the Window
>> I
>> want to use this in my program crashes telling me "Method not found:
>> 'MonoMac.AppKit.NSWindow.set_WeakDelegate'". So is there something I'm
>> still
>> missing?
>>
>
> You have mixed old and new assemblies, the compiler would not have let you
> generate the assembly at that point.
>
> Miguel
>
> _______________________________________________
> Mono-osx mailing list
> [hidden email] <#12ca7f1878b0d765_>
> http://lists.ximian.com/mailman/listinfo/mono-osx
>
>
> ------------------------------
>  View message @
> http://mono.1490590.n4.nabble.com/Working-with-delegates-tp3065391p3069476.html<http://mono.1490590.n4.nabble.com/Working-with-delegates-tp3065391p3069476.html?by-user=t>
> To unsubscribe from Working with delegates, click here<http://mono.1490590.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3065391&code=ZmxvQHJvb3RvZi5uZXR8MzA2NTM5MXwtMjg4MDYxMTg3&by-user=t>.
>
>
>
>
> ------------------------------
> View this message in context: Re: Working with delegates<http://mono.1490590.n4.nabble.com/Working-with-delegates-tp3065391p3069650.html>
>
> Sent from the Mono - OSX mailing list archive<http://mono.1490590.n4.nabble.com/Mono-OSX-f1546893.html>at Nabble.com.
>
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20101202/f3a2d565/attachment-0001.html 


More information about the Mono-osx mailing list