I\'m having problems setting the source for images in my Wpf application. I have an Image where the source is bound to the SourceUri property of the DataContext object, like
There's a handy method in System.IO.Path which can help with this:
return Path.GetFullPath("Resources/image.jpg");
This should return 'C:\Folders\MoreFolders\Resources\image.jpg' or whatever the full path is in your context. It will use the current working folder as the starting point.
Link to MSDN documentation on GetFullPath.