[MonoDevelop] Stetic stock icon path problems

Lluis Sanchez lluis at ximian.com
Mon Jun 11 08:11:46 EDT 2007

El dv 08 de 06 del 2007 a les 23:03 +0200, en/na László Monda va
> Hey List,
> When I add a custom stock icon to my project, Stetic places it in the
> project root directory.  When I build and execute my project, it fails
> to access the stock icons because they aren't in the build directory
> (which is {projectroot}/bin/Debug, not {projectroot}).

This is now fixed. Image files are now copied to the build directory.

> Even when the built assembly resides in the project root where stock
> icons are, there can be problems.  What if the application gets executed
> from another directory?
> I personally would like to place my stock icons in a subdirectory of my
> project root to better organize my files.

You can do it. MD will copy the image files to the same relative
directory in the build dir.

> MonoDevelop should provide a way to define the path where stock icons
> reside.  We could have {projectroot} and {iconpath} variables.
> {iconpath} could be defined on the project level, MonoDevelop could also
> use this path to display stock icons.  {projectroot} could be set by the
> application.  The generator could use these paths to create Gdk.Pixbuf
> instances as {projectroot}/{iconpath}/{iconfilename}.
> What do you think, what is the best solution regarding this problem?

There is no need to define an icon path, since you can use any path you
want in the project directory.


More information about the Monodevelop-list mailing list