title: Application.GetResourceStream is ignored?
body: <p>I have a silly problem, that I'm sure someone will spot in a second. Anyways, I am trying to test some write/read stream options for a Windows Phone 7 Game application. After some searching I found out <code>FileStream</code> operations are not allowed with Windows Phone 7, and instead I should use tools like <code>Application.GetResourceStream</code>, and <code>IsolatedStorageFile</code>.</p>
  
  <p>What I did for the testing was I created a new Phone 7 Game app(4.0) project, and I changed  game1.cs.</p>
  
  <p>I added some needed references:</p>
  
  <pre><code>using System.IO ;
  using System.Windows.Resources ;
  using System.Windows ;
  using System.IO.IsolatedStorage ;
  </code></pre>
  
  <p>And also added the 1.txt, and 2.txt files to my project for the file reading/writing actions(didn't come that far though yet). Using some tutorials on the web I wrote some small piece of code in the game1 constructor that includes some reading/writing from/to the txt files. I added some breakpoints in visual studio 2010, as I like to see the things one by one before I move to the next part. Anyways what happens, is that project compiles without any errors, but when I run it nothing happens. The debuger doesn't even stop at the breakpoints. I also get no errors whatsoever, which is why I'm stuck. I tried to comment all the lines, and check one by one, and it seems this line is what messes it up:</p>
  
  <pre><code>StreamResourceInfo sri = Application.GetResourceStream(
      new Uri("1.txt", UriKind.Relative));
  </code></pre>
  
  <p>Can anyone direct me to the source of my problem?</p>