himanshum
Posts: 5
Joined: Thu Feb 16, 2017 1:44 pm

unhandled exception windows.ui.xaml.dl error

Thu Feb 16, 2017 2:03 pm

Hello,

I am able to debug and launch my app without any issue on local machine. However when I try to release it on raspberry pi 3, I first deploy to the remote machine, which works successfully. Post that when I click on release, I keep getting error message that an unhandled exception windows.ui.xaml.dl has occurred. The error message is attached.
Need urgent help please.
Attachments
pi error.PNG
pi error.PNG (9.68 KiB) Viewed 526 times

beta-tester
Posts: 1221
Joined: Fri Jan 04, 2013 1:57 pm
Location: de_DE

Re: unhandled exception windows.ui.xaml.dl error

Wed Feb 22, 2017 5:27 am

hi,

1. what are the settings in the DEBUG properties panel and from the RELEASE one?
2. do you use conditional compilation like #if DEBUG ... #else ... #endif in your code?
3. or something like [System.Diagnostics.Conditional("DEBUG")]?
4. why don't keep the App in DEBUG condition if you cant get under control - it does not need to be RELEASE to be able to run without dev-environment.
5. otherwise add some additional stuff to your code to track how far your App going befor you get the exception, to know wher the exception exactly is coming from.
6. the exception you have can be caused by an invalid syntax in one of the xaml files - but then why is it running under DEBUG environment - go to 1'st step .
{ I only give negative feedback }
RPi Model B (rev1, 256MB) & B (rev2, 512MB) & B+, RPi2B (1GB), 64GB microSDXC1 class 10, HDMI 1920x1080, keyboard-mouse-combo (wireless), PiCamera, ethernet-cable, 5V/1.2A power supply, Wifi dongle (rt5370)

Return to “Windows 10 for IoT”