Thanks Todd - >mcs -r:System.Windows.Forms.dll Form1.cs > >Try that. > > mcs -r:System.Windows.Forms.dll -r:System.Drawing Form1.cs worked. Thanks for reading me the man page. Then I had to fix: System.DllNotFoundException: gdiplus.dll, but that's another topic. Regards, Charlie