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.
Found it;
bmi.UriSource = (new Uri("ms-appx:/Assets/Logo.png"));
And build action set to Content. There's no Relative URI in RT.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With