title: C# Relative Path to Image Will not Work
body: <p>I've looked at about a dozen different solutions to get this to work and I just can't seem to execute it properly. I have a file cup.png that I placed in a subfolder called /Images/ located in my project folder under "/Visual Studio 2013\Projects\PointOfSale\PointOfSale\Images\cup.png".</p>
  
  <p>The IDE acts like it can find the file and it shows up in the designer view and everything, and I can compile, but the minute I run it I get a XamlParseException error:</p>
  
  <blockquote>
    <p>A first chance exception of type
    'System.Windows.Markup.XamlParseException' occurred in
    PresentationFramework.dll Additional information: 'Provide value on
    'System.Windows.Baml2006.TypeConverterMarkupExtension' threw an
    exception.' Line number '7' and line position '14'.</p>
  </blockquote>
  
  <p>What in the world am I missing here? I've tried all different forms of these to try and get this to work:</p>
  
  <pre><code>&lt;ImageBrush ImageSource="pack://application:,,,/PointOfSale;component/cup.png" Opacity="0.1"/&gt;
  &lt;ImageBrush ImageSource="/cup.png" Opacity="0.1"/&gt;
  &lt;ImageBrush ImageSource="/Images/cup.png" Opacity="0.1"/&gt;
  &lt;ImageBrush ImageSource="/PointOfSale;component/Images/cup.png" Opacity="0.1"/&gt;
  </code></pre>