Posts

Showing posts with the label Windows XP

Write .NET applications on Mono and use them in Windows

Image
I am no professional .NET developer but I thought I would have a crack at a simple application written on my Fedora 10 in the Monodevelop IDE and then run the same exe it compiles in a Windows XP. It took a while but I got there in the end and in retrospect it was not too hard. Just a few dependancies, a short forum-search for a solution to a small problem. Here is what I did: 1. Install mono, monodevelop and gtk-sharp ( GTK# ): The monodevelop IDE provides a gui designer for gtk#. So I thought I would try this out and see how I could get that working in windows too. In Fedora I just ran the following: # yum install monodevelop gtk-sharp* As usual I let yum decide dependancies for me. 2. Start monodevelop and create a new solution: Select the C# templateand then pick Gtk# 2.0 Project Under Solution name: type "tutorial" and under Name: type "myGuiApp" to create a Gtk# GUI application under the folder {$HOME}/Projects/tutorial. Click Forward and select your Targ...