[Mono-winforms-list] Port winform .NET 4.0 app to Mac OSX
stifu at free.fr
Tue Sep 20 05:43:11 EDT 2011
"Any idea where to start?"
Trying to get your app to work with Mono on Windows was a good first step.
I take it you can't make your app public, right? Or maybe try to make a
reduced test case?
"If WebBrowser is not supported or converted is there any way round this?"
I'm not sure what the best solution would be. But you could do something
like detect the OS, and if it's Mac, do something else (like using MonoMac
to use native widgets? May not be easy to make it work with WinForms,
Talking about that, for the info, what the Mono team suggests doing is
having a different UI code depending on the OS, if you can afford it. Like,
have some kind of interface, and if on Windows, use WinForms, and if on Mac,
> Thanks for your response...
> /I'm not the best person to answer you (don't have a Mac), but this should
> be better than nothing./
> I don't have a Mac either - this was a request from a customer.. In fact
> I have never even used a Mac! Closest I have come is using the windows
> version of Safari to test websites...
> /"1. Is it possible to port an existing winform application to OSX?"
> Yes. Although WinForms support in Mono isn't good on OSX. But then again,
> maybe you'd like to help and patch it./
> Any idea where to start?
> /"2. If so would WebService, WebBrowser and other native Windows items
> cause a problem?"
> WebService should be OK, but WebBrowser is not supported on Mac./
> If WebBrowser is not supported or converted is there any way round this?
> /As for the exception you're getting, I'm not sure. I know some of the
> latest Mono versions were not packaged properly for Mac (something about
> GDI+ being compiled for 64-bit rather than 32-bit, or something). Maybe
> try an older Mono version, or look around for solutions for this issue./
> The version I have is for Windows, running on Server 2008 R2...
View this message in context: http://mono.1490590.n4.nabble.com/Port-winform-NET-4-0-app-to-Mac-OSX-tp3824087p3826284.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.
More information about the Mono-winforms-list