I've been trying to get an image file to show in my WPF app for hours. It shouldn't be this difficult. I've looked around and what this answer shows is what I'm seeing elsewhere, which is:
- Add the file to the project directory
- Add the file to the project
- Set the image file's build action
- Reference the image file relative to the project root directory as a relative path
However, it's not there. I'm using VS2015 and I thought that might be the issue (that it's too old), but this thread shows that it should have that property.
This is what I'm seeing on my computer:
The tooltip is showing the file path with the root of the path truncated.
What am I doing wrong?