This project has moved and is read-only. For the latest updates, please go here.

GoogleAnalytics.dll throws nullReferenceException in Periodic Agent


I am trying to implement app that sends an event in background at every one minute, First it used to give me the Unauthorized Access Exception but when i put my code inside

Deployment.Current.Dispatcher.BeginInvoke(() =>
   GoogleAnalytics.EasyTracker.GetTracker().SendEvent("Back", "Playing", null, 0);
It removes the unauthorized Access Exception Error but it gives the Null reference Exception and Point to GoogleAnalytics.dll i have tried different approaches but still it gives the same error. What to do for that ?