[Mono-osx] MonoMac.dll depends on System.Drawing.dll?

Stifu stifu at free.fr
Wed Sep 1 13:24:51 EDT 2010


"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.


More information about the Mono-osx mailing list