Uri Formatting on Image Source

uri, windows-runtime

Solution

Found it;

bmi.UriSource = (new Uri("ms-appx:/Assets/Logo.png"));

And build action set to Content. There's no Relative URI in RT.

Problem

What is wrong with the following uri? ``` bmi.UriSource = (new Uri(@"/Assets/Image.png", UriKind.Relative)); ``` Where `bmi` is a `BitmapImage`. I have the build action for the image set to Embedded Resource.

Original source