Raspberry PI : Developing with Mono (c#, vb.net +others)
6/16/2012 3:23 PM
So you want to start developing some applications for your Raspberry PI but your knowledge of programming is limited to the modern .net languages such as vb .net and c#. Not a problem!!
Welcome to the world of mono, an opensource cross platform and compatible version of the .net framework. By using a development IDE such as Visual studio or even better Mono Develop (http://monodevelop.com/) you can produce exe’s that will run on your Raspberry PI. All you need to do is to install the mono run times on the Raspberry PI. To do that we enter the following lines
sudo apt-get update
sudo apt-get install mono-runtime
As mentioned in other tutorials the first line is used to update the APT-GET package manager to ensure it is using the latest sources for downloading your packages. The second line installs and prepares the runtimes for use. That is it, now to run a mono developed exe just simply prefix the command with the word mono as shown below.
The exes can be loaded onto the raspberry pi from USB, FTP or any other for of media, it really is that simple. Obviously you may want to access the GPIO from within c# for more information on how to do this, check here