Search code examples
silverlightwindows-phonewindows-phone-8.1background-task

Windows phone 8.1 application failed in release when I use background tasks


I added a background task to my Windows Phone 8.1 app. And it works as expected, but only in Debug mode. I always get the RootFrame_NavigationFailed exception when I run my application in Release mode.

How can I debug it in Release to know the reason of the RootFrame_NavigationFailed?

The app doesn't have any information in exception in Release mode.


Solution

  • So, after 2 weeks of trying to resolve this issue I moved my application to Windows Phone 8.1 runtime from Silverlight.

    It costs me 3 evenings and my problem was disappeared. I'm very unhappy that this is the solution, but I can't figure out, what is really wrong. Because my library works great with background tasks in Windows Phone 8.1 runtime.