http://bugzilla.novell.com/show_bug.cgi?id=586164
http://bugzilla.novell.com/show_bug.cgi?id=586164#c0 Summary: Mono 2.6.1 won't let compile simple Gtk.SpinButton sample Classification: Mono Product: Mono: Compilers Version: 2.6.x Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: C# AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.9.1.8) Gecko/20100204 SUSE/3.5.8-0.1.1 Firefox/3.5.8 Using Mono 2.6.1 official binaries for openSUSE 11.2 and gtk-sharp 2.12.9, if I try to compile the sample code here: http://www.go-mono.com/docs/monodoc.ashx?tlink...@ecma%3a1290%23spinbutton%2f I get: /usr/bin/gmcs /noconfig "/out:/home/knocte/Projects/SpinButton/SpinButton/bin/Debug/SpinButton.exe" "/r:System.dll" "/r:Mono.Posix.dll" "/r:/usr/lib/mono/gtk-sharp-2.0/gtk-sharp.dll" "/r:/usr/lib/mono/gtk-sharp-2.0/glib-sharp.dll" "/r:/usr/lib/mono/gtk-sharp-2.0/gdk-sharp.dll" "/r:/usr/lib/mono/gtk-sharp-2.0/glade-sharp.dll" "/r:/usr/lib/mono/gtk-sharp-2.0/pango-sharp.dll" "/r:/usr/lib/mono/gtk-sharp-2.0/atk-sharp.dll" /nologo /warn:4 /debug:+ /debug:full /optimize- /codepage:utf8 /platform:x86 "/define:DEBUG" /t:winexe "/res:/home/knocte/Projects/SpinButton/SpinButton/gtk-gui/gui.stetic,gui.stetic" "/home/knocte/Projects/SpinButton/SpinButton/gtk-gui/generated.cs" "/home/knocte/Projects/SpinButton/SpinButton/MainWindow.cs" "/home/knocte/Projects/SpinButton/SpinButton/gtk-gui/MainWindow.cs" "/home/knocte/Projects/SpinButton/SpinButton/Main.cs" "/home/knocte/Projects/SpinButton/SpinButton/AssemblyInfo.cs" Compilation failed: 2 error(s), 0 warnings /home/knocte/Projects/SpinButton/SpinButton/Main.cs(27,5): error CS0118: `SpinButton' is a `namespace' but a `type' was expected /home/knocte/Projects/SpinButton/SpinButton/Main.cs(36,5): error CS0118: `SpinButton' is a `namespace' but a `type' was expected Reproducible: Always -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
