[Mono-osx] System.Drawing not working on OSX 10.8 (latest Mono)

Zinali ee at zinali.com
Sun Mar 17 13:24:57 UTC 2013

Hello Kenneth,

Thanks for these instructions, I did as described and initially it still did
not work. I did a clean install and it still did not work...  What finally
allowed me to compile was to switch to mono 2.10.11.  Switching to mono
3.0.6 results in the previously described errors regarding things like
System.Drawing.PointF and System.Drawing.Rectangle not being defined.

So I have sysdrawing-coregraphics-mac built under 2.10.11 but my application
is still not running with it, it does run with the default System.Drawing so
I'm in the process of figuring out what might is different or missing. 
Unfortunately I'm using a closed source .NET component that is calling
System.Drawing so it is not straightforward to figure out what is happening.

Many thanks

kjpou1 wrote
> Zinali
> Here is what I just did in a new directory to make sure everything is
> fresh.
> git clone https://github.com/mono/mono.git
> git clone https://github.com/mono/maccore.git
> git clone https://github.com/mono/monomac.git
> git clone https://github.com/mono/sysdrawing-coregraphics.git
> cd monomac
> cd src
> make
> Then open the sysdrawing-coregraphics solution file
> In the project sysdrawing-coregraphics-Mac make sure that the references 
> point to the MonoMac.dll that you just built because it does not run 
> against what is delivered.
> Right click the sysdrawing-coregraphics-Mac project and select Clean and 
> then Build or Rebuild
> Try that and let me know if it compiles.
> Again no need to compile mono as we are just using the sources.

View this message in context: http://mono.1490590.n4.nabble.com/System-Drawing-not-working-on-OSX-10-8-latest-Mono-tp4656801p4659052.html
Sent from the Mono - OSX mailing list archive at Nabble.com.

More information about the Mono-osx mailing list