So at the moment I am working on a project for my diploma and developing a desktop application with Visual Studios and C#/WPF/XAML. When I first started coding everything, I used for a relative path for the images, for example: "\Pics\background.jpg" in XAML. But then I always got an error
when starting it up and wanting to show the page where the picture was in. Therefore I always had to switch between relative and absolute path in order it to work.
Does anybody know how to fix this problem?
Oh yeah, just so you know, the pictures are saved in this folder: "\Desktop\ePharmacy_v12\ePharmacy\Pics" and I already tried to but the Pics folder into the debug folder etc. without success.