Share via


Windows Store App crashes after implementing a Background Task

If you are experiencing silent (exception-less) crashes of your application after having implemented a Background Task, you need to know that your class implementing the IBackgroundTask interface must be placed in a separate assembly and specifically in a Windows Runtime Component (winmd) in order for it to be successfully called. This winmd file must also be added to the referenced assemblies in the Windows Store App that uses the Background Task. Finally, in the app manifest remember to specify the class implementing the IBackgroundTask interface with full namespace.