[MonoDevelop] Re: Error opening dialogs

Michael Hutchinson m.j.hutchinson at gmail.com
Fri Feb 24 18:14:55 EST 2006


Hello,

I earlier reported the following error, which I still have. I have
investigated and produced a patch. Oddly, when I tried this approach a
few days ago it almost worked, but the widgets did not seem to be 
assigned to the class fields properly, as was recently noticed (and
fixed) for the New Project dialogue.

> Exception occurred: Cannot get resource file 'Base.glade'
> Parameter name: resource_name
>
> System.ArgumentException: Cannot get resource file 'Base.glade'
> Parameter name: resource_name
> in <0x0020d> Glade.XML:.ctor (System.Reflection.Assembly assembly,
> System.String resource_name, System.String root, System.String domain)
> in <0x00095> MonoDevelop.Ide.Gui.Dialogs.IncludeFilesDialog:.ctor
> (MonoDevelop.Projects.Project project,
> System.Collections.Specialized.StringCollection newFiles)
> in <0x007dd> MonoDevelop.Ide.Gui.ProjectOperations:SearchNewFiles
> (MonoDevelop.Projects.Project project)
> in <0x000a7> MonoDevelop.Ide.Gui.ProjectOperations:SearchForNewFiles ()
> in <0x006b1> MonoDevelop.Ide.Gui.ProjectOperations:backgroundLoadCombine
> (System.Object arg)

I guess this is to do with how Glade interprets the 'null' assembly
argument -- has this changed, or is is the runtime, or MonoDevelop? I
don't know, but I definately have this issue. The attached patch fixes
it for me, and should not have any adverse affects.

Is it okay to commit?

Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: IncludeFiles.patch
Type: text/x-patch
Size: 1335 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20060224/b288c460/IncludeFiles.bin


More information about the Monodevelop-list mailing list