title: What is the .NET equivalent of java's System.getProperty("user.dir")?
body: <p>I am trying to get the full path of a file in my unit test which is in a folder in my project.
  i tried using </p>
  
  <pre><code>Directory.GetCurrentDirectory();
  </code></pre>
  
  <p>but that returns the directory which my tests are running in. I want the directory of the project (or solution) without having to hard-code it in there. Then I can append the last part of the filename. Something similar to </p>
  
  <pre><code>System.getProperty("user.dir")
  </code></pre>
  
  <p>in java</p>