There are 2 solutions:
1: Change the image settings:
Build Action = Content Copy to output directory = Copy if newer Source="pack://siteoforigin:,,,/Resources/UserCost2013Open16.png"
2: When using the application instead of siteoforigin in the source path, you need to:
a) The image will be in SubFolder under the name "Resources", and the .exe file will be small.
Source="pack://application:,,,/Resources/UserCost2013Open16.png" Build Action = Content Copy to output directory = Copy if newer
b) The image will be included in the .exe, and no subfolder with the image file will exist
Source="pack://application:,,,/Resources/UserCost2013Open16.png" Build Action = Resource Copy to output directory = Copy if newer
Basti Mar 26 '13 at 12:18 2013-03-26 12:18
source share