Home Dashboard Directory Help

xaml error by Stephenm21



Sign in
to vote
Type: Bug
ID: 774009
Opened: 12/11/2012 2:50:00 AM
Access Restriction: Public
User(s) can reproduce this bug


App doesn't show logo, failed to create windows.ui.xaml.media.imagesource from the text '\Assets\logo.png'
Which is weird, because the xaml seems to be fine
Sign in to post a comment.
Posted by Microsoft on 4/29/2014 at 12:31 PM
Thank you for reporting this issue. This issue has been fixed in Visual Studio 2013. You can install a trial version of Visual Studio 2013 with the fix from: http://go.microsoft.com/?linkid=9832436
Posted by Microsoft on 12/21/2012 at 1:57 PM
Thanks for reaching out to us. In this case, your image URI uses backslashes (the '\' character). In XAML, that acts as an escape character to modify how other characters are interpreted. Change your XAML to use a forward slash (the '/' character) and it should work.

Hope that helps!
--Dante Gagne [MSFT]
Posted by Microsoft on 12/11/2012 at 11:21 PM
Thank you for submitting feedback on Visual Studio and .NET Framework. Your issue has been routed to the appropriate VS development team for investigation. We will contact you if we require any additional information.
Posted by Microsoft on 12/11/2012 at 3:50 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.