[Mono-winforms-list] Re: Newbie Windows Question

Alessandro Lendaro alendaro1@virgilio.it
Thu, 24 Mar 2005 16:41:10 +0100


Luc Andre wrote:
> 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;


mcs DoughnutMachine.cs /r:System.Windows.Forms.dll -o:DoughnutMachine.exe