The "Marketplace test kit" in Visual Studio fails when referencing the library in the background agent or one of its referenced assemblies
[ERROR] : Unsupported API cannot be used by a background agent. Assembly WriteableBitmapExWinPhone.dll was trying to use Microsoft.Xna.Framework.Media.MediaLibrary::.ctor.
Split the features requiring access to the MediaLibrary in a separate DLL.
[ERROR] : Unsupported API cannot be used by a background agent. Assembly WriteableBitmapExWinPhone.dll was trying to use Microsoft.Xna.Framework.Media.MediaLibrary::.ctor.
Split the features requiring access to the MediaLibrary in a separate DLL.