I read many questions on running .net code with mono but i always end up with the same question. I’m building a new app right now, so i better start straight and take the good direction:
Can i develop an app within Visual C# Express or Visual Basic Express, compile it from the Microsoft environment using the compilers they have and run that application using MONO on linux.
Or do i have to work with the mono compiler from scratch (or convert my MS project afterwards to mono) to be able to use my .net apps using the Mono framework on linux.
Linux/Mac support is not really a must for my app development, but i’d like to get it straight off the start.
Thanks
Regarding the apis:
i’m using WinForms, Encryption, Globalization, SQLClient but thats probably all, is there anything you Mono experts out can tell me NOT to use off the start.
Oh and i use the My namespace for all sorts of things such as getting the computer name, logged on user name, resources, settings, etc…
Generally yes, that works.
The issue isn’t recompiling, it’s the available native APIs and libraries. If you add native interop, the library you work with must be available on Linux too, which obviously isn’t the case for the windows libraries.
Certain managed libraries aren’t available at all(WPF), or are incomplete (WCF).
Mono has a WinForms implementation, but it looks foreign, since it doesn’t use native controls. This means the code will work on other platforms, but the user experience won’t be nice.