[MonoDevelop] Bug in MonoDevelop 2.4 Beta 1

Mj Mendoza IV mjmendoza at ymail.com
Fri May 7 05:24:57 EDT 2010


I just wanted to report MonoDevelop 2.4 can't properly open my project. 
My project was written in 2.2 that uses icon-factory. Upon compiling, it gave me this error message:
Unhandled Exception: 
System.ArgumentException: 'MyProject.Resources\icons\page.png' is not a 
valid resource name of assembly 'MyProject, Version=1.0.3779.30776, 
Culture=neutral, PublicKeyToken=null'.
  at 
Gdk.PixbufLoader.InitFromAssemblyResource (System.Reflection.Assembly 
assembly, System.String resource) [0x00000] in <filename 
unknown>:0 
  at Gdk.PixbufLoader..ctor 
(System.Reflection.Assembly assembly, System.String resource) [0x00000] 
in <filename unknown>:0 
  at Gdk.Pixbuf..ctor 
(System.Reflection.Assembly assembly, System.String resource) [0x00000] 
in <filename unknown>:0 
  at 
Gdk.Pixbuf.LoadFromResource (System.String resource) [0x00000] in 
<filename unknown>:0 
  at Stetic.Gui.Initialize 
(Gtk.Widget iconRenderer) [0x00000] in <filename unknown>:0 
  at MainWindow.Build () 
[0x00000] in <filename unknown>:0 
  at MainWindow..ctor () 
[0x00000] in <filename unknown>:0 
  at MyProject.MainClass.Main 
(System.String[] args) [0x00000] in <filename unknown>:0 
The application exited with 
code: 1

When I toggled Designer mode, all the menu item in the toolbar don't 
have icons in them.

And when I tried to re-select the icon for each menu item on the 
toolbar, MonoDevelop prompts an error then quits. The error message is:
 System.NullReferenceException: Object reference not set to an instance of an object.
   at 
Stetic.Editor.IconSelectorItem.Expose(Boolean draw, Int32 testx, Int32 
testy, Int32& ix, Int32& iy)
   at 
Stetic.Editor.IconSelectorItem.Draw()
   at 
Stetic.Editor.IconSelectorItem.OnExposeEvent(EventExpose ev)
   at 
Gtk.Widget.exposeevent_cb(IntPtr widget, IntPtr evnt)

I believe it has something to do with not properly parsing the CSPROJ 
file which contains the correct path of the image resources used.

Regards. 

Mj Mendoza IV,
Developer, KonsolScript
http://www.konsolscript.org

Developer, Clash
http://geesas.sourceforge.net/clash

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20100507/fd974174/attachment.html 


More information about the Monodevelop-list mailing list