Can mono run compiled framework.net applications (from VS env)

I read a lot of questions about running .NET code with mono, but I always end up with the same question. Now I am creating a new application, so it is better to start directly and adhere to a good direction:

Can I develop the application in Visual C # Express or Visual Basic Express, compile it from the Microsoft environment using the compilers they have, and run this application using MONO on Linux.

Or I need to work with a monocompiler from scratch (or convert my MS project subsequently to mono) in order to be able to use my .net applications using Mono on linux.

Linux / Mac support is not really required to develop my application, but I would like to get it from the very beginning.

thank


Regarding apis:

I use WinForms, Encryption, Globalization, SQLClient, but maybe everything, is there anything that you Mono experts can tell me NOT to use from the very beginning.

Oh, and I use the My namespace for all kinds of things, such as getting a computer name, username, resources, settings, etc ...

+5
source share
2 answers

Usually yes, it works.

The problem is not recompilation, these are the available native APIs and libraries. If you add your own interop, the library you are working with must also be available on Linux, which is clearly not the case with Windows libraries.

Some managed libraries are not available at all (WPF) or are incomplete (WCF).

Mono WinForms, , . , , .

+6

.Net- MSIL, , Mono.

, Microsoft.Net Visual Studio, Mono , Windows.

+4

All Articles