Image is displayed at design but not at runtime
<p>I have a solution with a portable class library called Domain. Domain contains a folder called Images. There are png images inside of it.</p>

<p>Blank-Solution:</p>

<ul>
<li>Domain (Portable Library)

<ul>
<li>Images

<ul>
<li>Avatar.png</li>
</ul></li>
</ul></li>
<li>WPF-Project</li>
</ul>

<p>I have a WPF-project inside my solution, too. If I reference the Domain.dll in my WPF-project and write:</p>

<pre><code> &lt;Image Source="/Domain;component/Images/Avatar.png" Stretch="None"/&gt;
</code></pre>

<p>The image is displayed in my designer. But there is no images if I run my WPF-app.</p>

<p>I have tried </p>

<pre><code>Source="pack://application:,,,/Domain;component/Images/Avatar.png"

Build Action to embedded Resource or content
</code></pre>

<p>without any success...</p>

<p>Is there a way to get this work? I know that I could add the images direct in the WPF-project and Build Action to Resource, but I want the described approach...</p>

<p>Thank you in advance!</p>