C# Windows phone 8.1应用程序中的System.Windows.Media

C# Windows phone 8.1应用程序中的System.Windows.Media,c#,windows-phone-8.1,C#,Windows Phone 8.1,我正在创建Windows Phone 8.1(Windows运行时)应用程序,需要使用System.Windows.Media.Imaging命名空间(更准确地说是BitmapDecoder类)中的一些类,但Visual Studio 2013表示“命名空间“System.Windows”中不存在类型或命名空间“Media”(是否缺少程序集引用?) 有什么建议吗?你试过了吗?您没有明确提到您需要位图解码器的哪些功能,因此很难说它是否适合您。您不能这样做。使用Windows运行时的等效API。谢谢

我正在创建Windows Phone 8.1(Windows运行时)应用程序,需要使用System.Windows.Media.Imaging命名空间(更准确地说是BitmapDecoder类)中的一些类,但Visual Studio 2013表示“命名空间“System.Windows”中不存在类型或命名空间“Media”(是否缺少程序集引用?)


有什么建议吗?

你试过了吗?您没有明确提到您需要
位图解码器的哪些功能,因此很难说它是否适合您。

您不能这样做。使用Windows运行时的等效API。谢谢!System.Windows.Media.Imaging名称空间的等效名称是什么?@Mika你尝试过谷歌搜索吗?谢谢,这对我很有用。我猜WriteableBitmap在Windows运行时上不可用。