MSAF - Google Analytics - Working Sample Project

Nov 27, 2011 at 8:00 PM
Edited Nov 29, 2011 at 6:46 AM

Trying to add analytics to a WP7.1 application. After downloading the latest installer, I extracted the sample WP7 however it didn't work out of the box (primarily broken assembly refs). After fixing this these and following the docs, the sample app then throws up Container errors on startup. After reading through some posts it appears MSAF isn't yet ready for Wp7.1. Has anyone else tried and got this working on WP7.1 regardless (even a working wp7.0 project would be helpful for me to see if there's something up with my install)? 


Dec 6, 2011 at 10:49 AM


i have problems too. In wp7 it always worked fine (in 12 apps), but i can't get it running under wp7.1. First i had problems with System.Windows.Interactivity, it was an older version than mine. Now with the update i get following error:

System.ComponentModel.Composition.ChangeRejectedException was unhandled  Message=The composition remains unchanged.

The error even occurs in a empty project with just msaf. It crashes on : 

      <util:AnalyticsService />
==>       <mwa:WebAnalyticsService />

in App.xaml

I tried with version 1.5.1 and 1.5.3 and the last wp7 sdk.

Help is appreciated.


Jan 28, 2012 at 7:10 AM

Make sure you reference local dll's, not from bin\debug or program files.

Next, make sure that all dll's use version of System.Windows.Interactivity.dll

Jan 5, 2016 at 7:06 AM