title: c# Images in resource dictionary not appearing at runtime
body: <p>I've separated all my images into a Resource Dictionary and assigned them in the XAML as static resources and this works fine at design time.</p>
  
  <p>When I come to run my application, all my images and form background (I've used an image brush for the Window background) are black?</p>
  
  <p>I've set the Build Action of the RD to Resource and Copy Always.</p>
  
  <p>I've copied my resources into a subfolder of my output folder but still no success.</p>
  
  <p>What am I doing wrong?</p>
  
  <p>Thanks</p>
  
  <pre><code>&lt;ResourceDictionary 
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" &gt;
  &lt;SolidColorBrush x:Key="StandardSolidColorBrush" Color="Blue" /&gt;
  &lt;LinearGradientBrush x:Key="StandardLinearGradientBrush" StartPoint="0.0,0.0" EndPoint="1.0,1.0"&gt;
      &lt;LinearGradientBrush.GradientStops&gt;
          &lt;GradientStop Color="White" Offset="0" /&gt;
          &lt;GradientStop Color="Black" Offset="1" /&gt;
      &lt;/LinearGradientBrush.GradientStops&gt;
  &lt;/LinearGradientBrush&gt;
  &lt;Style x:Key="TextBlock_Underlined"&gt;
        &lt;Setter Property="TextBlock.TextDecorations" Value="Underline" /&gt;
  &lt;/Style&gt;
  
  &lt;BitmapImage x:Key="UpArrow" UriSource="./Resources/Images/upload_orange.png" /&gt;
  &lt;BitmapImage x:Key="MainBackground" UriSource="./Resources/Images/background.jpg" /&gt;
  </code></pre>
  
  <p></p>