[Mono-devel-list] Forms guidance: m.w.f vs. s.w.f ?
Charlie Ford
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
>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
[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
>Peter
>
>-----Original Message-----
>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 ?
>
>
>
>
>>Hi -
>>
>> I want to try out a simple gui. I've got recent ("Mono JIT compiler
>>version 1.1.1.2004.0929") bits. mcs isn't happy yet. Do I need an env
>>variable or other configuration setting ?
>>
>> I've done as recommended in
>>http://www.mono-project.com/contributing/winforms.html#installation and
>>indeed when I `make install` in mcs-1.1.1/class/Managed.Windows.Forms, I
>>get a
>>
>>System.Windows.Forms installed into the gac (/usr/local/lib/mono/gac)
>>
>> message, and I can compile & run "console" programs (no gui) with no
>>problems.
>>
>> 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
mailing list