Monday, April 09, 2007

.Net apps on linux

Actually i had to do some assignment in C#, so first i thought of going to windows and do it with VisualStudio (IDE)..but voila... i found its alternative for linux : mono
It allows you develop and run .net framework applications.
I was able to install it easily in ubuntu:

sudo apt-get install mono
sudo apt-get install mono-gmcs

Now you can compile .cs files {extension for c#} using

gmcs file.cs

and run using

mono file.exe

More details about Csharp compiler :gmcs
See these links for more details and examples:
http://www.mono-project.com/Main_Page
Mono brings .NET apps to Linux
Introduction to Mono - Your first Mono app

No comments: