I have made a Windows Phone 7 application which uses a Background Agent to update Live Tile. This application works perfectly in Windows Phone 7 when it is compiled in Windows 7 using Visual Studio 2010 and Windows Phone SDK 7.1.1. Released application XAP file is working and Live Tile is updating about every 30 minutes like it should be.
I have compiled this application (with same project source files) also in Macintosh running with VMWare Fusion 5 and Windows 8 with Visual Studio 2012 and Windows Phone SDK 7.1.1. Released application XAP file is installing, working and Background Agent is started (it is visible in Phone's Background Tasks) and Live Tile is updating a few times BUT Background Agent is dropped unexpectedly when time is gone about two or three hours and it is not updating Lite Tile anymore.
Why this same application source code is not working if it is compiled in Windows 8 with newer version of Visual Studio?
Any ideas or what I am missing here?