[MonoDevelop] Project Icons Not Added to EXE When Compiling

stacheldraht at interia.pl stacheldraht at interia.pl
Thu Feb 18 13:53:39 EST 2010


Hello everybody,

in my C# app, I am making extensive use of self-made icons. So far I've been 
adding them to my project as resources by using the "Edit project icons" 
feature. This has been working fine up to a certain MD update (I am now using 
version 2.0), when the icons I add can be referenced inside the project (for 
instance, when I make up a new Gtk# form)...but when I try to run the ready 
compiled EXE, file, this happens:

Unhandled Exception: GLib.GException: File 
»/home/jacek/Documents/Projects/iwawi/iwawi/bin/Debug/./icons/wizard.png« 
could not be opened: File or directory not found.

Apparently, MD does reference the icon inside the project, but does not 
implant it into the EXE file when compiling / linking. However, when I double-
click the icon in the project browser, the information «Embed as resource» 
comes.

Any hints or solutions?

Kind regards
Jacek Rużyczka

----------------------------------------------------------------------
Szybkie i niedrogie... Tylko dla mezczyzn!
Sprawdz >>> http://link.interia.pl/f25a7



More information about the Monodevelop-list mailing list