[Mono-winforms-list] Newbie Windows Question

Luc Andre luc.andre@smartcom.com
Thu, 24 Mar 2005 16:20:33 +0100


Hi,

I'm new to mono and I'm investigating mono to see if it can help writing
true cross platform applications for Windows/MacOSX/Linux.

I tried to compile a sample GUI C# Application with mcs under Windows and I
got the error:

$ mcs DoughnutMachine.cs
DoughnutMachine.cs(44) error CS0234: The type or namespace name `Windows'
could not be found in name space `System'

The line involved is:
			private System.Windows.Forms.Timer timer1;


It seems that mcs does not handle System.Windows.Forms but it was supposed
to (I installed version 1.1.4).

Does anybody knows what I'm doing wrong ?

Thanks,

Luc