14

How solid is Mono for C# development on Linux and OS X? I've been thinking about learning C# on the side, and was wondering if learning using Mono would suffice.

9 Answers 9

14

I have been using mono for upwards of 2 years now. Work is windows and .Net, home is mono on GNU/Linux. I have been able to run both GUI and ASP.NET apps with no problems from the same SVN repository. The only changes I had to make were in connection strings. ASP.NET works well under mod_mono for apache and xsp2. Some of the .NET 3.5 pieces are not there but definitely works for .NET 2.0 and earlier.

Monodevelop is coming along nicely and I believe the debugger is working well too.

2

It should be just fine. It supports C# 3.0 now. I usually try to stick with targeting 2.0 though and it is very stable.

Winforms and ASP.NET have both worked fine for me. The only thing to consider is there is currently no support for WPF.

2

.NET 2.0 is fully implemented and if you are planning to use only .NET 2.0 it's almost guaranteed that it will work properly (even WinForms) :) Other versions are still under heavy development so you have to check the Mono's website.

2

I can't speak to Mono's OSX support, but it is used for some pretty big projects in Linux, such as Banshee and F-Spot. Monodevelop is a pretty decent IDE available for it.

1
  • OSX support has advanced significantly since this post, Monodevelop is now officially released for the platform, and Banshee for OSX is in beta I believe. Sep 16, 2009 at 17:31
2

Mono is very solid on OSX. The only part of the stack that's lacking is GUI, neither Gtk# or Winforms work as well as on linux.

1

I think it is very viable to learn C# using mono. I don't have hands-on experience with mono but the platform seems very stable and Mono is used in many commercial and open source applications.

1

Mono has just recently announced that it has full support for .NET 3.5 and overall Mono handles the majority of things well. A lot of the work is done by volunteers so you will still hit corner cases that will cause problems but they are very responsive on bugzilla and mailing lists.

Another great feature they've just added is the ability to attach to a process running on Linux/Mac from Visual Studio in Windows remotely. This gives you the ability to debug any system specific problems you could be having.

0

To learn the language, you will be just fine. There are some libraries missing in mono, but that would not prevent you from learning the language. You can find more information at the Mono Project Page: FAQ.

0

Mono is de facto .NET for Unix.

I don't suggest but I encourage you learn C# using Mono. In this way you'll put a feet in .NET cross-platform approach.

Now using Xamarin Mono Tools (http://xamarin.com/) you can also design cross-platform mobile apps sharing code between Android, iOS and WindowsPhone (and more).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.