[Mono-devel-list] Forms guidance: m.w.f vs. s.w.f ?
charlie_ford at sbcglobal.net
Wed Sep 29 16:46:22 EDT 2004
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
>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 220.127.116.11
[charlie at isslx3 dotNET]$ which mcs
[charlie at isslx3 dotNET]$ mono --version
Mono JIT compiler version 18.104.22.16840929, (C) 2002-2004 Novell, Inc and
GC: Included Boehm (with typed GC)
SIGSEGV : normal
[charlie at isslx3 dotNET]$ which 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
[charlie at isslx3 dotNET]$ uname -r
[charlie at isslx3 dotNET]$
I'm prepared to throw FC2 at this, but don't know that it would help.
>From: "Charlie Ford" <charlie_ford at sbcglobal.net>
>To: <mono-devel-list at lists.ximian.com>
>Date: 29 September, 2004 12:48
>Subject: [Mono-devel-list] Forms guidance: m.w.f vs. s.w.f ?
>> I want to try out a simple gui. I've got recent ("Mono JIT compiler
>>version 22.214.171.1244.0929") bits. mcs isn't happy yet. Do I need an env
>>variable or other configuration setting ?
>> I've done as recommended in
>>indeed when I `make install` in mcs-1.1.1/class/Managed.Windows.Forms, I
>>System.Windows.Forms installed into the gac (/usr/local/lib/mono/gac)
>> message, and I can compile & run "console" programs (no gui) with no
>> When I try `man Form1.cs` I get:
>>Form1.cs(12) error CS0246: Cannot find type 'System.Windows.Forms.Form'
>> and when I try `man ManForm.cs` I get:
>>ManForm.cs(12) error CS0246: Cannot find type 'Managed.Windows.Forms.Form'
>> What does it take to get a Form/Button/etc. ?
>> I also tried Managed.Windows.Forms.System.Windows.Forms.Form just for
>>fun, no soap.
More information about the Mono-devel-list