【发布时间】:2015-04-01 17:14:15
【问题描述】:
我正在尝试在我的 Windows Phone 8.1 Pivot 应用程序中使用 BitmapImage,但无法使用 System.Windows.Media.Imaging 使其工作;使用正确的 .dll
任何建议都会很棒,干杯。
ps。尝试重建。
【问题讨论】:
我正在尝试在我的 Windows Phone 8.1 Pivot 应用程序中使用 BitmapImage,但无法使用 System.Windows.Media.Imaging 使其工作;使用正确的 .dll
任何建议都会很棒,干杯。
ps。尝试重建。
【问题讨论】:
您当然想使用Windows.UI.Xaml.Media.Imaging.BitmapImage,而不是System.Windows.Media.Imaging.BitmapImage。
前者是 Windows 应用商店或 Windows Phone 应用程序的 Windows 运行时 API 的一部分,而后者是 WPF。您不能在 Windows 应用商店或 Windows Phone 应用中使用 WPF。
【讨论】: