Mg D
Mg D

Reputation: 147

Importing and developing WinForms applications on linux

I have a Visual Studio C# project, with a GUI done in WinForms. I'd like to continue its development on Linux. I have two questions: firstly, how can I compile it on Linux? I can compile single .cs files that use WinForms, but I have no idea about whole projects. Secondly, how can I further edit the GUI, other than by code? is there some editor?

Upvotes: 7

Views: 7902

Answers (5)

Antonio Rodulfo
Antonio Rodulfo

Reputation: 134

You should look at the guide Mono people have prepared thinking of you. Nevertheless, if you have special questions (like video) on your WinForms application, be ready to learn more than a bit of Gtk#.

Immediate future development from Mono people will pave the way for these applications to be ported with a bit more comfort, but that's in the future.

Good luck, anyway.

Upvotes: 2

FlappySocks
FlappySocks

Reputation: 3880

You can continue to use Visual Studio. No need to specifically compile for Linux (except for some well documented caveats). Just copy your .exe file over, and run it using Mono.

You will soon find out if winforms works well or not. It depends which controls your using.

Upvotes: 0

codemaster
codemaster

Reputation: 572

Look for Mono Project at http://www.mono-project.com/Main_Page. it is a cross platform implementation of .net framework and has editor to edit winforms.

Upvotes: 0

competent_tech
competent_tech

Reputation: 44921

You can use Mono. They have a guide here specifically for porting WinForms apps to Mono.

Upvotes: 1

L.B
L.B

Reputation: 116098

Have you seen MonoDevelop ?

MonoDevelop is an IDE primarily designed for C# and other .NET languages. MonoDevelop enables developers to quickly write desktop and ASP.NET Web applications on Linux, Windows and Mac OSX. MonoDevelop makes it easy for developers to port .NET applications created with Visual Studio to Linux and to maintain a single code base for all platforms.

Upvotes: 6

Related Questions