For example, in the XAML markup I use the resource from the program settings
Image Name="fon" Height="100" Width="100" Stretch="Fill" Source="pack://siteoforigin:,,,/Resources/background.jpg"/>
The fact is that it is displayed in the editor, but disappears after launch. But! If you specify a local path, then everything works. Interested in exactly how to use files from Resources
pack://application:,,,/Resources/background.jpg? - VladDResourcesdirectory in the project, thebackground.jpgfile in it, and the build action = Resource. - VladD