GetMediaState() and RestoreMediaState() missing in WP8

Topics: Windows Phone 8
Nov 20, 2013 at 11:25 AM
Edited Nov 20, 2013 at 11:26 AM
I installed the Player Framework through the Microsoft.PlayerFramework.vsix (v1.3)

However the MediaPlayer that I'm using in my project has no attribute for GetMediaState() and RestoreMediaState() like it is used in the example to restore the mediastate after navigating from the page: https://playerframework.codeplex.com/SourceControl/latest#Phone.SL.Test.WP8/MainPage.xaml.cs

'Microsoft.PlayerFramework.MediaPlayer' does not contain a definition for 'GetMediaState' and no extension method 'GetMediaState' accepting a first argument of type 'Microsoft.PlayerFramework.MediaPlayer' could be found (are you missing a using directive or an assembly reference?)

'Microsoft.PlayerFramework.MediaPlayer' does not contain a definition for 'RestoreMediaState' and no extension method 'RestoreMediaState' accepting a first argument of type 'Microsoft.PlayerFramework.MediaPlayer' could be found (are you missing a using directive or an assembly reference?)

Is there a solution for this?
Nov 20, 2013 at 11:48 AM
For some reason I was still on v 1.7.1.0 instead of 1.8.2.2
Installing the .vsix file again solved it.
Marked as answer by sverrevh on 11/20/2013 at 4:48 AM