Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WP7 Application Bar Icons not showing on Simulator (but works in Blend)

It is most probably a stupid mistake, but can anyone tell me why my icons are showing in Blend, but not in the simulator (and not in VS10, but that's not really an issue)?

WP7 Application Bar Icons. Blend (left), Simulator (right)

Edit - Here is my XAML :

    <phone:PhoneApplicationPage.ApplicationBar>     <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">         <shell:ApplicationBarIconButton IconUri="/Images/share.png" Text="Partager"/>         <shell:ApplicationBarIconButton IconUri="/Images/appbar.edit.rest.png" Text="Note"/>         <shell:ApplicationBarIconButton IconUri="/Images/appbar.feature.camera.rest.png" Text="Photos/Vidéos"/>         <shell:ApplicationBarIconButton IconUri="/Images/calendar.png" Text="Rendez-vous"/>         <shell:ApplicationBar.MenuItems>              <shell:ApplicationBarMenuItem Text="MenuItem 1"/>             <shell:ApplicationBarMenuItem Text="MenuItem 2"/>         </shell:ApplicationBar.MenuItems>     </shell:ApplicationBar> </phone:PhoneApplicationPage.ApplicationBar> 

My four .png files are 48x48, transparent .png with black foreground, since the appbar.*.rest.png files where like that and found in the Microsoft icons folder

like image 803
Thomas Joulin Avatar asked Nov 24 '10 11:11

Thomas Joulin


1 Answers

Make sure that the image properties 'build to action' is Content.

like image 117
123 456 789 0 Avatar answered Oct 07 '22 00:10

123 456 789 0