title: Application.GetResourceStream called on a Content Resource still return null
body: <p>Here is the task-related part of the VS2010 project (Windows Phone) structure:</p>
  
  <p><img src="https://i.stack.imgur.com/FQKXl.png" alt="enter image description here"></p>
  
  <p>The code is being executed from DummyMediaLibProvider.cs:</p>
  
  <pre><code>public class DummyMediaLibProvider: IMediaLibProvider
  {
      ...
      StreamResourceInfo albumArtPlaceholder = 
          Application.GetResourceStream(
              new Uri("../Images/artwork.placeholder.png", UriKind.Relative));
  </code></pre>
  
  <p><code>artwork.placeholder.png</code> <em>Build Action</em> is set to <em>Content</em>.</p>
  
  <p>Still, whenever I run the code, <code>Application.GetResourceStream</code> returns null.</p>
  
  <p>What may be the reason for the resource not being read to memory?</p>
  
  <p>I have attempted to delete obj directory of the project, did Clean and Rebuild, but so far nothing helped.</p>
  
  <p>Update:</p>
  
  <p>If I apply Build Action: Resource to artwork.placeholder.png, I can get the resource stream ok though.</p>
  
  <p>P.S. This is not the duplicate of <a href="https://stackoverflow.com/questions/5918072/application-getcontentstream-returns-null-for-content-uri">Application.GetContentStream returns null for content Uri</a> since the last had the extension (particurarly .xml) related problem.</p>