title: Icon for content Page in Xamarin Forms
body: <p>I am trying to get page icons work. I created a blank application and added a icon to it. when I run the app the icon does not render.
  What am I missing. This seems like it should be straight forward.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
           xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
           xmlns:prism="clr-namespace:Prism.Mvvm;assembly=Prism.Forms"
           prism:ViewModelLocator.AutowireViewModel="True"
           x:Class="Sandbox.Views.MainPage"
           Title="MainPage" Icon="icon.png"&gt;
     &lt;StackLayout HorizontalOptions="Center" VerticalOptions="Center"&gt;
          &lt;Label Text="{Binding Title}" /&gt;
     &lt;/StackLayout&gt;
  &lt;/ContentPage&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/Vmbfa.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Vmbfa.jpg" alt="enter image description here"></a></p>