在我的应用程序中,有一个“关于”部分,其中包含应用程序图标:
<Border Background="Gray" Margin="0,0,12,0" Width="136" Height="136"> <Image Source="ms-appx:///Assets/StoreLogo.scale-400.png" Width="68"/> </Border>
在调试过程中,它的行为符合预期: debug with asset visible
但是在上传到商店并用另一个客户端下载之后,它看起来是这样的: result after store upload - asset not visible, just background
asset properties: Build Action = Content; Copy to Output Directory = Copy always
我怎样才能在商店里也显示资产版本呢?
<Image Source="ms-appx:///Assets/StoreLogo.png" Width="68"/>
只需使用普通的店标名称,没有缩放扩展,缩放扩展是为商店找出不同屏幕尺寸的商店最佳形象。