title: Why does Application.GetResourceStream always return null in WP7?
body: <p>I am creating a Windows Phone app and I will be storing level data in the text files. </p>
  
  <p>I have the following problem: I am trying to read all the lines from the file and every time I call <code>Application.GetResourceStream</code> it returns <code>null</code>. </p>
  
  <p>I know this topic was asked by different people, but all the solutions didn't work for me. </p>
  
  <p>This is the code:</p>
  
  <pre><code>List&lt;String&gt; fileLines = new List&lt;string&gt;();
  var resource = Application.GetResourceStream(
                           new Uri("Level_data/Level_1.txt", UriKind.Relative));
  StreamReader streamReader = new StreamReader(resource.Stream);
  string line;
  while ((line = streamReader.ReadLine()) != null)
      fileLines.Add(line);
  </code></pre>
  
  <p>Also, the solution explorer looks like this. The Build Action is set to "Resource", but I also tried "Content" first and didn't work either. </p>