I have a very basic C# statement but whenever it gets executed the image is not set and the image element disappears.
qrcode.Source = new BitmapImage(new Uri(@"/Images/scannn.png", UriKind.Relative));
qrcode.Source = new BitmapImage(new Uri(@"/Images/scannn.png", UriKind.Relative));
I have no clue why its not being set, the image is present in that directory, build action of the image is set to content and copy to output is set to copy always