[Gtk-sharp-list] Glade# attribute problem

Mark Derricutt mark@talios.com
Mon, 07 Apr 2003 22:24:55 +1200


Hi - just working through the Glade# tutorial and having a spot of bother
:(

I have mono 0.23 and GnomeSharp 0.8 installed and get the following:



[mark@spawn project2]$ mcs /unsafe -r gtk-sharp.dll -r glade-sharp.dll \
  -r gnome-sharp.dll project2.cs

\x{FEFF}project2.cs(16) error CS0246: Could not find attribute 
'Glade.Widget' (are you missing a using directive or an assembly reference 
?)
Compilation failed: 1 error(s), 0 warnings
[mark@spawn project2]$


If I uncomment out the [Glade.Widget] attribute reference, and remove any
code that references the object I wanted bound, it compiles and runs fine.

Do I need to include a different dll for the attribute to work?

Mark