The APP.XAML may be destroyed, in RELEASE mode error

In RELEASE mode, the APP.XAML.CS module in this sentence error"NullReferenceException"
PhoneApplicationService.Current.UserIdleDetectionMode = IdleDetectionMode.Disabled;
You can pass in DEBUG mode.
If this sentence to comment out, skip the SPLASH interface to a black screen, this is what is wrong.?

Started by Spark at December 03, 2016 - 12:06 PM

This problem is dubious suggest you create a new project and then step by step to the final contrast is where the problem is usually that the problems we are doing so

Posted by Elaine at December 12, 2016 - 12:45 PM

The amount of information is too small

You do not know what is APP.XAML.CS code

Posted by Isaac at December 24, 2016 - 1:11 PM

Try ReBuild.
NullReferenceException, Check where the object has not been initialized using.

Posted by Carter at December 31, 2016 - 2:04 PM