Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WinForms Application in MonoDevelop

I just installed the new MonoDevelop Windows beta, but when trying to create a C# windows application the only option was GTK#. Since Mono supports WinForms, why is this not an option in MonoDevelop. I would like to not have the GTK# dependency in my applications.

like image 971
Adam Haile Avatar asked Sep 09 '09 21:09

Adam Haile


People also ask

Can you run WinForms in Linux?

Windows Forms (and WPF) are both not supported on Linux with . NET Core and probably never will be. Winforms runs on mono, but that is based on . NET Framework, not .

Can WinForms run on Mac?

Unfortunately, the System. Windows. Forms. VisualStyles namespace is not currently implemented on Linux or macOS.

Does anyone still use WinForms?

Thanks to the utility, easy code, simple drag, and drop design interface, … Win Form has been used to develop many applications. Because of its high age (born in 2003), WinForm was officially declared dead by Microsoft in 2014. However, Win Form is still alive and well.


1 Answers

Althought Winforms is supported in mono since version 2.0, the WinForms designer is not usable yet in MonoDevelop, which could be the reason for the lack of a WinForms project in MonoDevelop

http://www.mono-project.com/WinForms_Designer

AFAIK, you should think of mono's support for winforms as a way to port existing winforms aplication to linux. If you want to make a cross-platform app from the ground up, you should use GTK#

like image 144
Ricardo Amores Avatar answered Sep 22 '22 05:09

Ricardo Amores