Make sure you have the following properties set directly in your script
1) Assembly action → Resource
2) Copy to output directory → Do not copy
3) Instead of using the relative path for the image source, try using the full path to the image like this (I say this because I don't know where the image resource is in your project, using the relative path perfectly normal in WPF)
<Image Source="pack://application:,,,/AssemblyNameContainingImageResource;component/Resource/button_picture.png" />
Shrinand Feb 26 '13 at 13:49 2013-02-26 13:49
source share