简体   繁体   English

如何在Windows Phone 8.1应用程序中更改默认图像?

[英]How to change default images in Windows Phone 8.1 app?

I'm trying to pass certification using the Windows app cert kit but I'm getting an error due to using the default images for tiles, splash screen and logo. 我正在尝试使用Windows应用程序证书工具包通过认证,但由于使用默认的图块,初始屏幕和徽标图像而出现错误。

I know this is because I need to replace these default images with my own but when I try to change the images in the Package.appxmanifest the is no option in the Application to change these images. 我知道这是因为我需要用自己的图像替换这些默认图像,但是当我尝试更改Package.appxmanifest的图像时, Application no选项无法更改这些图像。

I've looked in the WMAppmanifest also but there is no option to change. 我也查看了WMAppmanifest,但是没有更改的选择。

在此处输入图片说明

Does anyone know how I can get access to where the images are being set? 有谁知道我如何访问设置图像的位置?

Looks like you're using WP 8.1 Silverlight. 看起来您正在使用WP 8.1 Silverlight。

To edit those settings using the GUI, you need to double click on the WMAppManifest.xaml in the Properties folder under the solution. 要使用GUI编辑这些设置,您需要双击解决方案下“属性”文件夹中的WMAppManifest.xaml。

在此处输入图片说明

Found a quick fix for this by right clicking on the Package.appxmanifest file and selecting view in code. 通过右键单击Package.appxmanifest文件并选择代码视图,找到了针对此问题的快速修复。

I then manually changed the paths of the images from the default images to the ones I created. 然后,我将图像的路径从默认图像手动更改为我创建的图像。

<m3:VisualElements DisplayName="TotalTabata" Square150x150Logo="Assets\timer_icon_medium.png" Square44x44Logo="Assets\timer_icon_44.png" Description="Total Tabata is a total solution for all your interval and HIT training needs." ForegroundText="light" BackgroundColor="#464646">

Still not sure why the option to change them doesn't show up in the manifest designer. 仍然不确定为什么更改清单的选项没有出现在清单设计器中。 If anyone has a solution please post it as an answer. 如果有人有解决方案,请将其发布为答案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM