title: Imagebrush ResourceDictionary
body: <p>I've created an Resourcedictionary where i define my ImageBrush to an jpg picture. I use this ImageBrush on my Path object to fill it. However when I build I get the error Error:
  Error HRESULT E_FAIL has been returned from a call to a COM component.  </p>
  
  <pre><code>&lt;ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                  xmlns:c="clr-namespace:System;assembly=mscorlib"
                  xmlns:Model="clr-namespace:MVVMTestApp.Model;assembly=MVVMTestApp.Model"
                  xmlns:View="clr-namespace:MVVMTestApp.View"
                  xmlns:ViewModel="clr-namespace:MVVMTestApp.ViewModel"&gt;
  
  &lt;c:Double x:Key ="StrokeUserControl"&gt;
  2
  &lt;/c:Double&gt;
  
  &lt;ImageBrush x:Key="CountryBackground" ImageSource="../Assets/gra-bakgrund.jpg" Stretch="Fill"/&gt;
  </code></pre>
  
  <p></p>
  
  <p>And I'm trying to get it to fill in my Path object like this</p>
  
  <pre><code>Fill="{StaticResource CountryBackground}"
  </code></pre>