OnLaunched called with LauchActivatedEventArgs.PreviousExecutionState = Running in 8.1 app?


  • While debugging my app, I got a strange crash once, and can't reproduce it.

    The crash occurred because I add resources from my launch code in the code behind, and the item was already in the resource dictionary.  The code that does that is only called as a result of OnLaunched, yet when the crash occurred, the PreviousExecutionState was set to Running.

    That doesn't look like a legal state to be in.  Has anyone else seen this?

    Anthony Wieser | Wieser Software Ltd | www.wieser-software.com

    Sunday, March 29, 2015 5:52 PM

All replies