title: How do I open a file that is part of my solution?
body: <p>I have a document that I have included in my VS 2010 solution.  It is in a folder called "MyFolder" the file itself is called "MyDoc.docx".  I've tried the following ways to open the file but none work:</p>
  
  <pre><code>Stream s = File.OpenRead("/MyFolder/MyDoc.docx");
  </code></pre>
  
  <p>and</p>
  
  <pre><code>Stream s = File.OpenRead("MyFolder/MyDoc.docx");
  </code></pre>
  
  <p>and</p>
  
  <pre><code>Stream s = File.OpenRead("~/MyFolder/MyDoc.docx");
  </code></pre>
  
  <p>What is the proper path for this file?</p>