[Mono-list] System.Windows.Forms

Joel Reed joelwreed at gmail.com
Tue Oct 2 10:54:47 EDT 2007


On Mon, Oct 01, 2007 at 09:53:29AM +0200, Søren Juul wrote:
> Hi
> 
> Don't know if this is the right place to ask (maybe i should use
> Mono-Winforms-List), but i got some problems with windows forms in
> ubuntu.
> 
> When i compile i get
> 
> error CS0234: The type or namespace name `Windows' does not exist in
> the namespace `System'. Are you missing an assembly reference?
> Compilation failed: 1 error(s), 0 warnings
> 
> and if i use /r:System.Windows.Forms.dll /r:System.Drawing.dll i get
> 
> error CS0006: cannot find metadata file `System.Windows.Forms.dll'
> Compilation failed: 1 error(s), 0 warnings

perhaps you need:

  apt-get install libmono-winforms1.0-cil libmono-winforms2.0-cil

jr


More information about the Mono-list mailing list