How to run .NET programs in Linux.

mono-logo - How to run .NET applications in Linux.If you are a software developer you may or may not know that you can run your .NET 1.0 and .NET 2.0 applications natively in Linux. Even Windows.Forms (GUI Programs) programs can be run natively, making .NET a great and easy tool for cross platform development.

The software that makes this happen is Mono. Mono is an implementation of the Microsoft .NET framework. A Common Language Runtime is also included for running virtually any .NET binary.

To get your .NET application running in Linux all you have to do is install the Mono program along with the Windows.Forums Mono libraries. In Ubuntu all you have to do is open your Synaptic package manager and install those packages. After installing the packages all you have to do to run your .NET application in Linux is open a command prompt and type: mono application.exe. This will start and run application.exe using the Mono CLR. Yep, thats it! Nothing to it.

If you program using any .NET version higher than 2.0, you may want to use the Mono Migration Analysis tool to make sure your application code is compatible with the current version of Mono.



Digg: DIGG ME

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Sponsor & Advertise
Tech Buzz

Zero-Day VBScript plagues Windows XP / 2000.

Apparently there is a new zero-day flaw that affects Windows XP and 2000 computers utilizing VBScript. An attacker can trick someone into visiting a website that binds the F1 key to a VBScript event which ultimately installs malicious code on your machine. Microsoft’s fix: Don’t press the F1 key when windows pop up. LOL. Ok [...]

Read More »

Has Verizon been hacked? Security certificates revoked!

Has Verizon been hacked? Google Chrome seems to think so. Just a few minutes ago I tried to log into Verizon to see why my phone isn’t making any calls and to also see why I can’t make any text messages. I’m going to have to probably assume they haven’t been hacked, but how does [...]

Read More »

My first blocked number in Google Voice.

Today I received my first piece of spam in Google Voice. At first I was really PISSED-OFF but then a feeling of serenity passed over my whole body as I noticed the “block” button. Slowly and cautiously I clicked it, making my day THAT MUCH better. Just knowing that I will no longer be getting [...]

Read More »

3500 Netflix on Linux petitions.

Currently you can not watch Netflix if you are a Linux user and all those new Ubuntu Netbook owners will not be watching Netflix anytime soon either. Watching movies online through Netflix is an awesome service, but worthless to Linux users. Netflix has chosen to only allow Windows and MAC users access to their online [...]

Read More »

Apple bans “android” from apps store.

Apples waving the ban stick around again, this time rejecting an educational iPhone app because it contained the word “Android”. The application? Flash of Genius: SAT Vocab 2.2, an iPhone app developed by Tim Novikof. The app did really well in the Android Developer Challenge that Google puts on and decided to mention that [...]

Read More »

My .02 on Apple’s anti-flash, anti-freedom movement.

As many of you iPhone consumers may know, Flash isn’t supported and will probably never be supported. The new up and coming iPad (AppleĀ Tablet) will be running a version of the iPhone operating system and will probably have the same exact restrictions. The reason Apple doesn’t want to support Flash is because it allows third [...]

Read More »