Re: Mono application in Mac
Baltasar GarcĂa Perez-Schofield <[email protected]> Sat, 7 Dec 2013 21:46:34 +0100
| Newsgroups | gmane.comp.gnome.winforms |
|---|---|
| Message-ID | <CAGzCYFPufSU-c3Xwp9M_Y=svBm6g8=jJAcBVOsRxABKzgGEe5Q@mail.gmail.com> |
--===============0873182836== Content-Type: multipart/alternative; boundary=047d7b676af2b6c1b804ecf7db6c --047d7b676af2b6c1b804ecf7db6c Content-Type: text/plain; charset=ISO-8859-1 Hi, I have a Winforms Application i intent to port it to Mac using Mono for > Mac.Mono migration Analyzer says all the components cannot be ported.so i > have decided to write from scratch(reusing the code).I have downloaded and > installed Mono for Mac and Xcode on Mac OSX > > 1.How to design the UI? > The easiest way is to use the UI designer for Gtk# bundled with Monodevelop. Unfortunately, there is no designer for WinForms available (at least, one that is easily found, downloaded and installed). > I can see that Mono for Mac has a GTK# UI builder,but GTK# is > confusing.which is the best GUI Toolkit to easily design the UI? > There are tons of GUI toolkits available. If you use Qt, for example, then you'll probably be able to use QML and easily build your GUI in an external GUI designer for Qt. But I don't have experience here, so unless someone else steps out, you're on your own. > 2.Since Mono supports win-forms,i tried using mono c# compiler to compile > the code.But it shows a lot of exceptions and in case of large project i > will have a number of .cs files and may be libraries.How can i compile it > via command line? > The best way is to directly open your project in Monodevelop. The IDE will take care of the dependencies, and so on. Anyway, take into account that a) there are a lot of horror stories about compiling a WinForms app in Mac, and b) Xamarin itself considers WinForms deprecated. Good luck! --047d7b676af2b6c1b804ecf7db6c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi,<div><br></div><div class=3D"gmail_extra"><div class=3D= "gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;= border-left:1px #ccc solid;padding-left:1ex">I have a Winforms Application = i intent to port it to Mac using Mono for<br> Mac.Mono migration Analyzer says all the components cannot be ported.so i<b= r> have decided to write from scratch(reusing the code).I have downloaded and<= br> installed Mono for Mac and Xcode on Mac OSX<br> <br> 1.How to design the UI?<br></blockquote><div><br></div><div>The easiest way= is to use the UI designer for Gtk# bundled with Monodevelop. Unfortunately= , there is no designer for WinForms available (at least, one that is easily= found, downloaded and installed).</div> <div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;= border-left:1px #ccc solid;padding-left:1ex">I can see that Mono for Mac ha= s a GTK# UI builder,but GTK# is<br> confusing.which is the best GUI Toolkit to easily design the UI?<br></block= quote><div><br></div><div>There are tons of GUI toolkits available. If you = use Qt, for example, then you'll probably be able to use QML and easily= build your GUI in an external GUI designer for Qt. But I don't have ex= perience here, so unless someone else steps out, you're on your own.</d= iv> <div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;= border-left:1px #ccc solid;padding-left:1ex">2.Since Mono supports win-form= s,i tried using mono c# compiler to compile<br> the code.But it shows a lot of exceptions and in case of large project i<br= > will have a number of .cs files and may be libraries.How can i compile it<b= r> via command line?<br></blockquote><div><br></div><div>The best way is to di= rectly open your project in Monodevelop. The IDE will take care of the depe= ndencies, and so on. Anyway, take into account that a) there are a lot of h= orror stories about compiling a WinForms app in Mac, and b) Xamarin itself = considers WinForms deprecated.</div> <div><br></div><div>Good luck!</div></div> </div></div> --047d7b676af2b6c1b804ecf7db6c-- --===============0873182836== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Mono-winforms-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-winforms-list --===============0873182836==--