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

Ravindra rkumar@novell.com
Fri, 30 Jul 2004 14:08:04 +0530


Hello,
I assume that you have installed SWF. Now, just to answer your query.
Probably, you are not providing the reference to System.Windows.Forms
dll when compiling. You need to do something like,

 $ mcs -r:System.Drawing -r:System.Windows.Forms <your_program.cs>

Some additional info, SWF on Mono is not in a very usable state today.
You might want to have a look at previous mails on this list.

-Ravi

On Thu, 2004-07-29 at 16:40, can kaynak wrote:
> 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.
> 
> _________________________________________________________________
> The new MSN 8: smart spam protection and 2 months FREE*  
> http://join.msn.com/?page=features/junkmail
> 
> _______________________________________________
> Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list