WP7 不选择新的应用程序图标

发布于 2024-12-02 18:52:36 字数 363 浏览 4 评论 0原文

我创建了一个新的应用程序图标来代表我的 WP7 应用程序,并使用项目的“属性”选项将其与应用程序一起设置。我已经通过检查 WMManifest.XML 仔细检查了更改是否已实施。

  <IconPath IsRelative="true" IsResource="false">Class Timetable Icon 62px.png</IconPath>

我已经重建了解决方案并进出 VS10,但新图标未显示为应用程序图标。当我部署到手机时,模拟器会发生这种情况。

我什至用我的新图标替换了默认的 ApplicationIcon.png 文件,但它仍然没有被选中。

有什么想法吗???

I have created a new Application icon to represent my WP7 app and set it with the app using the 'Properties' option for the project. I have double checked that the change has been implemented by checking the WMManifest.XML

  <IconPath IsRelative="true" IsResource="false">Class Timetable Icon 62px.png</IconPath>

I have rebuilt the solution and been in and out of VS10 but the new icon is not displayed as the app icon. This occurs foe the emulator and when I deploy to the phone.

I have even replaced the default ApplicationIcon.png file with my new icon but its still not being picked up.

Any ideas???

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

聆听风音 2024-12-09 18:52:36

您应该从模拟器中卸载该应用程序,然后重试。另请尝试关闭模拟器并重新启动,看看问题是否仍然存在。

还要确保 PNG 的构建操作设置为内容。

You should uninstall the application from the Emulator and try this again. Also try shutting down the emulator and starting it again to see if the issue persists.

Also ensure that the Build Action for your PNG is set to Content.

尾戒 2024-12-09 18:52:36

您需要将新图标文件添加到手机应用程序项目中,当您在 Visual Studio 的解决方案资源管理器中选择它时,请确保其“构建”属性设置为“内容”。

You need to add your new icon file to your phone application Project and when you select it in the Solution Explorer in Visual Studio make sure that its Build property is set to Content.

明月松间行 2024-12-09 18:52:36

好的 - 已经解决了。问题是图标需要位于应用程序的根目录中。我将它们放在我自己的子目录中,没有给出任何错误,但是,只是没有显示它们。

它位于 http://expression.microsoft.com/en-us/gg317447 其中提到了限制(必须从根目录使用它们)。

这一切都在 7.0 下 - 可能在 7.1 下更灵活。

Ok - got it sorted. The issue was that the icon needed to be in the root directory of the application. I had them in my own sub directory, which didn't give any errors, but, simply didn't display them.

Its in point 27 of http://expression.microsoft.com/en-us/gg317447 where the limitation (of having to use them from the root directory) is mentioned.

This is all under 7.0 - possibly maybe more flexible under 7.1.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文