I'm sure this is super simple but I can't seem to figure this out. Here is my scenario:
I have a bunch of .jpg image files that are included in a resources folder inside my project. I want to reference them in XAML as follows:
<Image Name="SobeysImage" Stretch="Fill" ToolTip="Sobeys Image" FlowDirection="LeftToRight" Grid.Column="1" Source="Resources/sobeys1.jpg">
I get the following error message when I try to run the application:
Error 2 The file Resources\Sobeys1.jpg is not part of the project or its 'Build Action' property is not set to 'Resource'. C:\_Development\PhotoTool\PhotoTool\Window1.xaml 10 117 PhotoTool
I made sure that I set the build action of the image to Resource.
What am I missing???
View Complete Post