[Mono-list] Compiling solution on Linux

Stifu stifu at free.fr
Sun Dec 12 13:13:33 EST 2010


.NET exe files are in an intermediate byte code format (CIL), meaning they're
not Windows binaries (unlike native exe files, although they use the same
extension). .NET and Mono JIT-compile the CIL code to native code on the
fly, when running the application. That's why it's portable. Java works the
same way.

And yeah, to build your solution on Ubuntu, that should basically be it.
It's also possible to avoid command lines and use a GUI program to do it
(Synaptic or another one).

By the way, unless your application is simple, you might want to double
check that it works properly on Linux (there's a LiveCD and stuff on the
Mono download page). You might have done or used something that isn't
portable, and you may encounter Mono bugs too. And there are fair chances
that your teacher has an old version of Mono, depending on his Ubuntu
version, which means he could encounter old Mono bugs that have been fixed
since then, or missing features that you're relying on and that have been
added since then.
If he tells you his Ubuntu version, you'll be able to figure out which Mono
version he has.


caio1985 wrote:
> 
> Hi Stifu, thanks for the reply
> 
> How that is done? I mean, how can my executables and libraries work on
> Linux? What does mono do in order to provide such portability?
> 
> You mean that I should tell my teacher just to use:
> apt-get install monodevelop
> and then open the solution and build it?
> 
> Thanks!
> 

-- 
View this message in context: http://mono.1490590.n4.nabble.com/Compiling-solution-on-Linux-tp3084454p3084497.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list