[Mono-osx] MonoDevelop and GTK

Baker, GJ (Gareth) g.j.baker at dl.ac.uk
Fri Feb 29 16:10:44 EST 2008


I get the same message when using the Glade2# "sample". I got it to compile by deleting gtk-sharp and glade-sharp from the Reference folder in the project and reloading the gtk-sharp.dll and glade-sharp.dll assemblies from the mono/gac folder. You have to edit the glade.gui file externally but it all works.

I did have to change the default font to make the files readable and to get blank lines to show up (and I can't get a right click on a trackpad - Ctrl+click does not work - I have to use an external two button mouse)!

Anyway - Good job Geoff

Regards
Gareth Baker


-----Original Message-----
From: mono-osx-bounces at lists.ximian.com on behalf of Andrew Brehm
Sent: Thu 2/28/2008 10:14 PM
To: mono-osx at lists.ximian.com
Subject: [Mono-osx] MonoDevelop and GTK
 
When I try to compile a GTK# project (empty such, just a window), I
get the following message from MonoDevelop (several times):

"The type or namespace name `Gtk' could not be found. Are you missing
a using directive or an assembly reference?(CS0246)"

There is another message about the Gnome namespace.

Both messages refer to the actual "using" statements that include Gtk and Gnome.

I checked the references and can see gnome-sharp, Version=2.4.0 and
gtk-sharp, Version=2.4.0 in the "Selected references" list.

This is MonoDevelop and framework from Mono 1.2.6_6 on Mac OS X 10.5.2 on Intel.

What am I doing wrong?
_______________________________________________
Mono-osx mailing list
Mono-osx at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-osx




More information about the Mono-osx mailing list