[Mono-osx] Mono 1.9.1/Winforms crash on Mac OSX

Iain Collins mono-osx at iaincollins.com
Tue Jun 17 20:08:46 EDT 2008


Hi Brian,

On 17 Jun 2008, at 23:29, Brian Dunstan wrote:

> Hello,
>
> I am trying to build a winforms application using Monodevelop, on  
> Mac OS
> X 10.5.3.   A Visual Studio template application (attached)  
> crashes.  I
> have mono 1.9.1 and Cocoa# 0.94 installed, but X11 is not installed,  
> by
> design.
>
> My understanding is that mono 1.9.1 supports winforms natively on OSX,
> without using X11.  Can someone please let me know if I am on the  
> right
> track here, or need some additional libraries installed?
<snip>

It looks like the project is using some Winforms 2.0 functionality,  
but I think only Winforms 1.1 is currently supported in Mono.

I was able to get it to build under Mono (but only after a fashion,  
after some tweaking) but there are a few elements of the application I  
had to modify.

e.g. System.Configuration.ApplicationSettingsBase,  
Application.SetCompatibleTextRenderingDefault and  
System.Windows.Forms.AutoScaleMode are not supported in Mono 1.9.1, it  
seems.

FWIW, I've had no problems at all building under Mono on Mac OS (e.g.  
with Mono Develop) then running those binaries under .NET on Windows,  
but then I'm not coming from a .NET developer background so I haven't  
had to worry about .NET functionality might not be in Mono, and so  
I've found it very straightforward working that way round.

Regards,

-- 
Iain Collins
me at iaincollins.com



More information about the Mono-osx mailing list