Hi,

I'm not the best person to answer you (don't have a Mac), but this should be
better than nothing.

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

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

"3. Is there a step by step guide available?"
Not that I know of, but feel free to ask about specific issues on the
mailing list.

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.


GCHQ wrote:
> 
> Hi there
> 
> I have a winform .NET 4.0 application that I would like to port to Mac
> OSX. 
> 
> The app is deployed to windows using ClickOnce, uses a backend WebService
> as it's data source and quite extensive use of the built in WebBrowser.
> The project contains about 200k LOC
> 
> 1. Is it possible to port an existing winform application to OSX?
> 
> 2. If so would WebService, WebBrowser and other native Windows items cause
> a problem?
> 
> 3. Is there a step by step guide available?
> 
> I did try opening one of our own smaller in-house utilities (also uses
> WebService) in Mono, but it throws a build error when run
> 
> /MainForm.resx(5,5)
> 
> error RG0000: Type System.Drawing.Point, System.Drawing, Version=4.0.0.0,
> Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a in the data at line 120,
> position 4 cannot be located. Line 122, position 5./
> 
>  - but runs without any problem in VS2010.
> 
> I did post a similiar message in asp.NET - for some reason read it as
> VB.NET!! Sorry
> 
> Thanks
> 


--
View this message in context: 
http://mono.1490590.n4.nabble.com/Port-winform-NET-4-0-app-to-Mac-OSX-tp3824087p3825002.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.
_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Reply via email to