Can I run C# code on the beast?
Here are my notes from installing the OS to running a trivial C# application.
Ignore greyed text - they are blind avenues I took, and you should not follow.
You’ll be asked for an administrator password; and a user and associated password.
The display overscans on the 46" Sony Bravia KDL-46W4500
Prepare a config.txt file so you can see the entire
Here’s the contents of that file – use notepad from within Windows to create it – far easier than “vi” the vile editor.
From Windows place the file in root of the SD card, and re-insert and reboot the RaspberryPi
Details on config.txt can be found here:
Google for "RPi config.txt"
Use the terminal window LXTerminal
You’ll be asked for the admin password.
Now you are god!
Now you can edit the SUDO file with
Insert before cursor
Exit, saving changes
Exit and ignore any changes
just under the line that looks like the following:
root ALL=(ALL) ALL
Add the following (replacing nick with your actual username):
nick ALL=(ALL) ALL
That seems to be a waste of time as you don't have to use sudo to download...and nor can you use apt-get
For those interested and using Debian based systems, you can install mono by typing:
sudo apt-get install mono-complete
you need apt-get... but I foolishly ...and just so simply, I installed Fedora (Debian based systems use apt-get)
What does fedora use in place of apt-get?
It uses yum
yum install yumex
I’m using the graphical front end – and keeping an eye on the green trace on the processor usage graph.
Now run yumex
Open a user logon – lxterminal. (It forbids you to run as su!)
Yumex – and wait!
That seems to be a waste of time. Forget that.
yum install mono-core
compile a .cs file
and run it
static void Main(string args)
int x = 0;
Console.WriteLine("" + x++);