title: How can I read all text when ReadAllText is unavailable?
body: <p>I want to assign the contents of a text file to a textbox, like so:</p>
  
  <pre><code>String logDirPath = 
      Path.GetDirectoryName(Assembly.GetExecutingAssembly().GetName().CodeBase);
  String fullPath = logDirPath + "\\application.log";
  textBoxErrLogsContents.Text = File.ReadAllText(fullPath);
  </code></pre>
  
  <p>I got the "ReadAllText" from <a href="http://msdn.microsoft.com/en-us/library/ms143368(v=vs.90).aspx" rel="nofollow">here</a>, but it's not available to me.</p>
  
  <p>I <em>am</em> referencing mscorlib, and I did add a "using System.IO;" but it's grayed out, while ReadAllText is fire-engine red.</p>
  
  <p>Am I missing something, or do I have to skin this cat some other way in this Windows CE / Compact Framework app?</p>