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

Luc Andre luc.andre@smartcom.com
Fri, 25 Mar 2005 13:29:54 +0100

Works fine...



-----Original Message-----
From: mono-winforms-list-admin@lists.ximian.com
[mailto:mono-winforms-list-admin@lists.ximian.com] On Behalf Of Alessandro
Sent: Thursday, March 24, 2005 4:41 PM
To: mono-winforms-list@ximian.com
Subject: [Mono-winforms-list] Re: Newbie Windows Question

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
> 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

Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com