[Mono-osx] Reference MonoMac assembly

Miguel de Icaza miguel at xamarin.com
Fri Oct 28 18:10:11 EDT 2011


Correct, that is how it would work.

On Fri, Oct 28, 2011 at 8:57 AM, Markus Henschel
<markus.henschel at gmail.com>wrote:

> > Hello,
> >
> >> I want to reference MonoMac from my application. I can add a reference
> to
> >> it
> >> in MonoDevelop but when I try to start the application a
> >> FileNotFoundException for MonoMac.dll is thrown as soon as soon as any
> >> MonoMac code is called. This doesn't happen when I create a new
> >> application
> >> from the MonMac template in MonoDevelop. What's also strange is that
> >> MonoMac
> >> is listed as being version 0.0.0.0.
> >
> > This is just because MonoMac is not strong-named, and is not installed in
> > the Global Assembly Cache.
> > Currently we are treating MonoMac as a library that must be shipped
> > side-by-side with your executable.   The reason is that the API is not
> > complete, and once we put it in the GAC, there is an implicit contract
> > between you and us that the API compatibility will be kept.
> > It is not likely going to change, but we rather not freeze the API when
> > there is no need for it.
> > _______________________________________________
>
> Thanks for the explanation. Just to be sure: When I just grab the
> MonoMac.dll that gets copied to my output dir in a dummy MonoMac
> project I could use that as any other side by side assembly and copy
> it to the project I'm working on? I already tried that and it seemed
> to work.
> _______________________________________________
> 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/20111028/749b5092/attachment.html 


More information about the Mono-osx mailing list