我正在尝试使用我的Windows Phone 8.1 Pivot应用程序中的BitmapImage,但无法使用System.Windows.Media.Imaging使其工作;使用正确的.dll
任何建议都会很棒,欢呼。
PS。尝试重建。
答案 0 :(得分:1)
您当然希望使用Windows.UI.Xaml.Media.Imaging.BitmapImage
,而不是System.Windows.Media.Imaging.BitmapImage
。
前者是用于Windows应用商店或Windows Phone应用的Windows运行时API的一部分,而后者是WPF。您无法在Windows应用商店或Windows Phone应用中使用WPF。