When I had tried to use Relative URIs for local files I found next trouble - resource wasn't found in my app. Solution for this problem is next actions: we should open properties of local file and change flag named "Copy to Output Directory" from "Do not Copy" to "Copy always".
Easy and logically.
PS: Nice article about URI in WPF - Pack URIs in Windows Presentation Foundation
No comments:
Post a Comment