title: Read a Text File in Windows 8
body: <p>I'm having some trouble reading an embedded resource (text file) in <a href="/questions/tagged/windows-8" class="post-tag" title="show questions tagged 'windows-8'" rel="tag">windows-8</a>, usually I use <code>Assembly.GetExecutingAssembly()</code> but I can't seem to do it in this one. I'm referencing the System.Reflection namespace but it says cannot find, thinking it was possibly removed.</p>
  
  <p>Any ideas?</p>
  
  <p>Currently using Windows 8 Consumer Preview</p>
  
  <p>Code:
  <code>Assembly readAssembly = Assembly.GetExecutingAssembly();
  StreamReader streamReader = new StreamReader(readAssembly.GetManifestResourceStream("Test.txt"));</code></p>
  
  <p>Error:
  System.Reflection.Assembly' does not contain a definition for 'GetExecutingAssembly'</p>