XamlParseException occurred, unknown parse error

Oct 10, 2012 at 4:14 PM
Edited Oct 10, 2012 at 4:47 PM

I'm getting the "Unknown parser error: Scanner..." error, but only when I run the application and it crashes to MainPage.g.i.cs.

I've added the silverlight dll's for the ones I want (pubcenter, admob and adduplex) and in designer i can clearly see the message "AdRotator in design mode...". But it crashes when i run the application. 

The dlls was copied from V1 :-(

Commenting out AdRotator:AdRotatorControl makes the app run again... but with no ads ;) :-/ :(

It xmlns:AdRotator="clr-namespace:AdRotator;assembly=AdRotator" still good? I defined it in phone:PhoneApplicationPage tag.

Where did i go wrong?

Adding screen of my dll reference... 

1292500

Coordinator
Oct 10, 2012 at 9:32 PM

Please note that even you are only using those providers, you still HAVE to have references to them all, this is both a limitation of V1 (we hope to change this in V2) but is also a safeguard so if you choose to add more later you will still NOT have to re-deploy your app.

Just add references to the other providers in the shipped DLL's

Hope that helps

 

P.S. Adding the other references will still only add a few Kb to your app and will NOT impede or slowdown your app

Oct 11, 2012 at 10:31 AM

Spot on! Looking forward to V2! :-)