[Mono-osx] MonoMac.dll depends on System.Drawing.dll?
Inspired Mars
inspiredmars at gmail.com
Wed Sep 1 14:48:47 EDT 2010
Yes, however, we're using the same namespaces also - hence the earlier point
about porting the Drawing portion of our Windows app. It would be pretty
painful to have to rename our wrappers for System.Drawing.
On Wed, Sep 1, 2010 at 1:24 PM, Stifu <stifu at free.fr> wrote:
>
> "This is problematic because we're drawing via our own classes that are
> identically named"
>
> You may already know, but to work around this issue, you could just use
> namespace aliases.
>
> Like:
>
> using MyNS = My.Name.Space;
> using OtherNS = Other.Namespace;
>
> (...)
>
> MyNS.Point = something;
> OtherNS.Point = stuff;
>
>
> Inspired Mars wrote:
> >
> > We've run into a bit of a blocking issue.
> >
> > Monotouch.dll includes definitions for six primitive structures - Point,
> > PointF, Size, SizeF, Rectangle and RectangleF.
> > In contrast, MonoMac.dll currently depends on System.Drawing.dll.
> >
> > This means that all the other drawing primitives are also brought in -
> > Graphics, Pen, Brush, etc.
> > This is problematic because we're drawing via our own classes that are
> > identically named (to make it easier to port the drawing portion of our
> > Windows app.)
> >
> > Is there a plan to remove this dependency and directly include the six
> > primitive types in MonoMac.dll?
> > Regards,
> >
> > _______________________________________________
> > Mono-osx mailing list
> > Mono-osx at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-osx
> >
> >
>
> --
> View this message in context:
> http://mono.1490590.n4.nabble.com/MonoMac-dll-depends-on-System-Drawing-dll-tp2403556p2403616.html
> Sent from the Mono - OSX mailing list archive 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/20100901/37b1fe15/attachment.html
More information about the Mono-osx
mailing list