I'm trying to set an image source in XAML but keep getting "Could not find part of a path..." (plus the directory I want to call). I think I'm messing up what location I'm supposed to be calling. The hierarchy looks something like:
-Solution
-Project
-Data
-Images
-Image_I_want_to_use.png (placeholder name)
-Themes
-Demo
-Default
-fileImWorkingIn.xaml
-other files
-other folders
-Another Project
-Third Project
How would I configure my image source in XAML so the file I'm working in can utilize the image(s)?
I tried
<Image Source="/Project;component/Images/image_to_use.png">
(where each name is simply a placeholder) but had no luck. Any pointers? Apologies if this is trivial.
Thanks!
<Image Source="Images/image_to_use.png">with image being built as content