[Mono-winforms-list] Unable to Compile Windows.Forms.Form

Jordi Mas jordi@ximian.com
Thu, 29 Jul 2004 14:40:25 +0200


El dijous 29 de juliol del 2004 a les 11:10 +0000, en/na can kaynak va
escriure:
> I am trying to compile an easy example of System.Windows.Forms but i 
> encountered an error like:
> error CS0246: Cannot find type `System.Windows.Forms.Form'. What can i do?
> Thanks.

Are you using 'mcs sample.cs -r:System.Windows.Forms' to compile the
sample? You always have to specify the SWF assembly.

Jordi,