开发者

WP7 not picking new Application Icon

开发者 https://www.devze.com 2023-04-02 19:43 出处:网络
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 chec

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???开发者_如何学C


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.


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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消