title: Images in UserControl not displaying in window
body: <p>I currently have a very simple UserControl that only contains a single image. When I put this UserControl onto another window in the same project, the image no longer appears in the editor, nor does it appear when I run my program. I've looked at every question I can find on this, but I still haven't been able to get this working.</p>
  
  <p>My user control is:</p>
  
  <pre><code>&lt;UserControl x:Class="MyApp.DetailViews.InfoDetails"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
           mc:Ignorable="d" 
           d:DesignHeight="20" d:DesignWidth="20"&gt;
  &lt;Grid&gt;
      &lt;Image Source="/MyApp;component/Assets/Icon.png" HorizontalAlignment="Left" Height="20" VerticalAlignment="Top" Width="20"/&gt;
  &lt;/Grid&gt;
  </code></pre>
  
  <p>
  I've checked these quesstions: </p>
  
  <p><a href="https://stackoverflow.com/questions/1554097/embedded-images-not-showing-when-in-a-usercontrol">Embedded images not showing when in a UserControl</a></p>
  
  <p><a href="https://stackoverflow.com/questions/17809437/wpf-usercontrol-with-images-not-showing-properly">WPF - UserControl with images not showing properly</a></p>
  
  <p><a href="https://stackoverflow.com/questions/20751406/why-are-my-images-not-showing-up-in-my-usercontrol">Why are my images not showing up in my UserControl?</a></p>
  
  <p><a href="https://stackoverflow.com/questions/15636047/image-in-wpf-button-not-visible-at-runtime">Image in WPF Button not Visible at Runtime</a></p>
  
  <p>The thing they seem to all have in common is the build settings for the components. As such, I've set the actual .png <em>build action</em> to Content and the <em>Copy to Output Directory</em> to Copy always.</p>
  
  <p>The actual UserControl itself has it's <em>Build Action</em> set to page (although I've tried setting it to Content or Resource), and is set to Do not copy. These are the same settings as all my other UserControls, and I have no issues with those.</p>
  
  <p>I have the following folder structure:</p>
  
  <pre><code>MyApp/MyApp.sln
  MyApp/MainWindow.xaml/cs
  MyApp/DetailViews/InfoDetails.xaml/cs
  MyApp/Assets/Icon.png
  </code></pre>
  
  <p>What have I missed to make the image actually appear on the window?</p>
  
  <p>Thanks.</p>