I have
.PNG files in the
debug folder that I use as
imagebrushes
and
diffusematerials
with no issue. I.E.:
myImageBrush.ImageSource = New BitmapImage(New Uri("image0.png", UriKind.Relative))
Now I have two
Image
controls and I set the source I.E.:
myImage.Source = New BitmapImage(New Uri("image0.png", UriKind.Relative))
Nothing appears.
What I have tried:
Unless I set a breakpoint, inspect the
Image
in debug AND expand the source section and scroll to the bottom and then continue. If I do that, the image displays - I don't have to do anything else.
SO I have
.PNG files that work fine - except on
Image
controls. If I expand the
Image
details in debug mode, I have no issue, otherwise the
Image
simply doesn't display.
Any idea what is going on?