title: Relative directory paths in Visual Studio using FSharp
body: <p>I have a file located in a solution directory like this:</p>
  
  <p><img src="https://i.stack.imgur.com/NZdHm.jpg" alt="enter image description here"></p>
  
  <p>I want to read the contents of one of the .txt files into a string in the FSI:</p>
  
  <pre><code>open System.IO
  
  [&lt;Literal&gt;]
  let path = "../Data/Build_Keynote2014.txt"
  
  let buildKeynote =  File.ReadAllText(path)
  </code></pre>
  
  <p>The problem is that it is throwing an exception:</p>
  
  <pre><code>System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\jamie\AppData\Local\Data\Build_Keynote2014.txt'.
  </code></pre>
  
  <p>Is there a way to reference the file without using the full path?</p>
  
  <p>Thanks </p>