[MonoDevelop] Stetic stock icon path problems

László Monda laci at monda.hu
Fri Jun 8 17:03:13 EDT 2007

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}).

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.

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?

Laci  <http://laci.monda.hu>
Developer of the Ultimate Commander  <http://ultimatecommander.org>

More information about the Monodevelop-list mailing list