Windows Phone Scheduled Task Agents and the WMAppManifest file

Posted: (EET/GMT+2)

 

If you are developing Windows Phone 7.5 applications and want to take advantage of the new multitasking features available in the Mango release, chances are you are already using scheduled task agents. If you want to properly use these agents in your applications, you must edit the WMAppManifest.xml file to contain an ExtendedTask element.

However, the good news is that if you create a project reference into the agent project from your main Windows Phone application, Visual Studio will do this work for you. It appears a regular DLL reference will not do the trick.

Of course, you can always edit the WMAppManifest.xml manually. Should you wish to go this route, the documentation is available here.