[MonoDevelop] Monodevelop 2.0: Stock Icons and Gtk.IconFactory issue
TheWind777 at hotmail.com
Tue Jul 7 08:21:02 UTC 2015
I would guess that you just aren't properly making sure that the image is
being sent over so it is available after it compiles.
I assume that you have added the image files to your project by
right-clicking on the project name and doing Add Files.
They then appear under 'Properties' on the left.
Right-click the image and choose 'Properties'.
Set Build Action to 'None' and set 'Copy to Output directory' to 'Copy if
newer' (or Always Copy just in case you're the nervous sort).
You can also set the images as 'EmbeddedResource'... but that means your
output .exe will be bigger because it will be right inside the .exe.
Usually it loads the images from the directory.
The error is just saying, "I can't find the file you specified." And, the
reason it can't find it is... it's not there. You can't leave it in the root
of the project directory and expect that it will be with the executable
after it compiles.
Can't be sure... because I'm also a beginner with Stetic; but think that's
the case. Try it.
View this message in context: http://mono.1490590.n4.nabble.com/Monodevelop-2-0-Stock-Icons-and-Gtk-IconFactory-issue-tp1513658p4666292.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.
More information about the Monodevelop-list