Hi Jordi,
Indeed, this did the trick.
Many thanks,
Danny
Jordi Mas wrote:
El dc 13 de 04 del 2005 a les 11:37 +0200, en/na Danny Brugman va escriure:
Hi,
This might be a real beginners-question, but I couldn't find an answer anywhere on the internet, nor in the gnome documentation / Windows Forms home page.
Issue is that I try to compile a very simple hello-world winforms application (Linux, Fedora FC3). I installed mono 1.1.6 + winforms rpm + all required dependencies (libgdiplus, cairo, etc), and I see a System.Windows.Forms directory in '/usr/lib/mono/gac/'.
After invoking mcs I get the following error:
hello.cs(2) error CS0234: The type or namespace name `Windows' could not be found innamespace `System'
Try
mcs programa.cs -r:System.Windows.Forms -r:System.Drawing
Leave the System.Drawing reference, you may also need it.
Jordi,
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
