[Mono-osx] MonoDevelop and GTK

bmahf bmahf at hotmail.com
Fri Apr 30 23:06:49 EDT 2010


Ok, so I posted too quickly on this.  I found the gui.glade file to be in my
project directory at
/Users/me/Projects/Mono/FirstGladeProject/FirstGladeProject/gui.glade.  The
compiler for the GladeApp class that was created with my project had the
line:

Glade.XML gxml = new Glade.XML (null, "gui.glade", "window1", null);

Not knowing how this call finds the file, and even though the file is found
in my project folder, I went ahead and gave the full path reference to the
file as follows:

Glade.XML gxml = new Glade.XML (null,
@"/Users/bruce/Projects/Mono/FirstGladeProject/FirstGladeProject/gui.glade",
"window1", null);

And although it compiles, I still ended up with the following error:

Unhandled Exception: System.ArgumentException: Cannot get resource file
'/Users/bruce/Projects/Mono/FirstGladeProject/FirstGladeProject/gui.glade'

Now I'm really confused.  It was for a moment there possible that there
might have been a setting for my project that was not set properly, causing
the run not to be able to find the gui.glade file, but it should not be
possible for that to be the case with my having given the full path to the
file.

Any ideas?  Really at a loss now...
Bruce

-- 
View this message in context: http://mono.1490590.n4.nabble.com/MonoDevelop-and-GTK-tp1548988p2085228.html
Sent from the Mono - OSX mailing list archive at Nabble.com.


More information about the Mono-osx mailing list