[Mono-devel-list] simple graphical application

Duncan Mak duncan at ximian.com
Tue Aug 12 15:28:58 EDT 2003


On Wed, 2003-08-13 at 13:23, arnaud denoual wrote:
> Hello,
> I try to create a simple graphical application in C# with mono, using
> System.Drawing.Drawing2D and System.Winfows.Forms.
> But when I compile, the compilator d'ont find theses namespaces.
> How I can build these namespaces ?
> Is it possible under mono to run this kind of application ?

You need to reference these assemblies. You can do that by adding:

	/r: System.Drawing.dll

to your mcs command for compiling your app.

Bear in mind that our System.Windows.Forms and System.Drawing API are
still in heavy development. Your app may, or may not, work with Mono. If
it does work, that'd be awesome and please let us know; if not, it would
be awesome if you could help us by contributing the missing pieces.

Happy hacking!


More information about the Mono-devel-list mailing list