Upgrading WP7 App from 7.0 to 7.1 ! Some Problems with fast App Switching (Timer) and VisualStates


  • Hi,

    i have two problems.


    First, my old timer-function does now work anymore with fast application switching.
    I have a game (Silverlight) where the user has 1 (or 2, or 3) minutes to do some stuff. Then the game is over.
    The "Time pleyed" is visible and updated every second.


    my old timer was based on some calculations with


    this does not work with fast-application-switching.

    Some ideas how to realize a timer function ? (Count from 00:00:00 up to 00:03:00, display in textblock, update every second, show highscore after x minutes (-> call end(); ))


    My second problem is that some views wont work anymore.

    I'm working with VisualStates to have some nice annimations.

    But now i'm getting a "Invalid attribute value  for property FontSize." Exception.

    The most anoying fact about this is, i can not open Expression blend with this error and edit the animation.
    Any hints which part of the VisualState stuff was changed in mango ?



    • Edited by ChristophP Sunday, December 4, 2011 9:28 PM
    Sunday, December 4, 2011 9:27 PM