[Mono-devel-list] Forms guidance: m.w.f vs. s.w.f ?

Todd Berman tberman at off.net
Wed Sep 29 16:58:05 EDT 2004


On Wed, 2004-09-29 at 13:46 -0700, Charlie Ford wrote:
> Hi Peter -
> 
> >While we call it Managed.Windows.Forms, to be able to distinguish it from 
> >the previous effort, the namespace is still MS compatible.
> >  
> >
> right, I tried it both ways, suspecting that might be the case
> 
> >That means your app still needs to reference "System.Windows.Forms" to use 
> >it.
> >
> >Is the rest of your Mono installed into /usr/local ?
> >  
> >
> yes (I accepted the defaults for ./configure)
> 
> [charlie at isslx3 dotNET]$ mcs --version
> Mono C# compiler version 1.1.1.0
> [charlie at isslx3 dotNET]$ which mcs
> /usr/local/bin/mcs
> [charlie at isslx3 dotNET]$ mono --version
> Mono JIT compiler version 1.1.1.20040929, (C) 2002-2004 Novell, Inc and 
> Contribu
> tors. www.go-mono.com
>         TLS:           __thread
>         GC:            Included Boehm (with typed GC)
>         SIGSEGV      : normal
>         Globalization: ICU
> [charlie at isslx3 dotNET]$ which mono
> /usr/local/bin/mono
> [charlie at isslx3 dotNET]$ mcs Form1.cs
> Form1.cs(12) error CS0246: Cannot find type `System.Windows.Forms.Form'
> Compilation failed: 1 error(s), 0 warnings

mcs -r:System.Windows.Forms.dll Form1.cs

Try that.

> [charlie at isslx3 dotNET]$ uname -r
> 2.4.20-6
> [charlie at isslx3 dotNET]$
> 
> I'm prepared to throw FC2 at this, but don't know that it would help.
> 
> Regards,
> Charlie

--Todd




More information about the Mono-devel-list mailing list