这是我在Visual Studio 2013 For Windows中构建Windows 8.1 App项目时收到的警告:
1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\AppxPackage\Microsoft.AppXPackage.Targets(1706,9): warning APPX1621: A mixture of images matching logical name 'Assets\SquareLogo30\SquareLogo30.png' exists in this project with and without the "scale" or "targetsize" qualifier specified. For predictable runtime behavior, explicitly specify the scale or target size in each image asset's file name.
是的,我"明确指定了每个图片资源的文件名"中的比例或目标尺寸。 - this is how my assets are named.
In the manifest, images are displayed correctly and without any errors.(因版权而删除了视觉效果)
但我仍然会收到警告。
此外,有时在应用程序使用过程中,一些图像随机从瓷砖/任务栏快捷方式/任务栏预览角落消失( i.stack.imgur.com/nyCTb.png - 所以不让我发布超过2个链接,至少需要10个声望......)。
所以是的,这个警告让我感到不可预测的行为"。
我的问题:我应该如何命名资产,这样我才能使用未曝光的版本的图标和解决不可预测的行为(警告本身)?< / p>
如果您需要更具体的信息,请撰写评论! :)