Using LittleWatson in Background Agent

Jan 10, 2012 at 1:33 PM

It would be nice to be able to use LittleWatson to handle exceptions in background agents (e.g. period agents). If you attempt to use the library however, Marketplace validation will fail due to reliance on Microsoft.Phone.Shell.PhoneApplicationService

Is there any suggested workaround?

Thanks,
Adam

Coordinator
Jan 10, 2012 at 2:36 PM

Hi nanabite, thanks for your feedback! I'm currently busy but will have some time to look at this tomorrow (wednesday).

Coordinator
Jan 10, 2012 at 3:10 PM

I assume it's because of the following call

                        exc.AppVersion = VersionManagement.GetVersion().ToString();

It's trying to get the version number to report it along with the exception report. GetVersion() uses the PhoneApplicationService.State. I will try to implement a fix tomorrow.

Coordinator
Jan 13, 2012 at 2:11 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Coordinator
Feb 7, 2012 at 7:18 PM

This should be fixed now.

Go to this workitem to see what to do:

http://northernlights.codeplex.com/workitem/233

Coordinator
Dec 1, 2012 at 4:42 AM

resolved.