title: How to obtain the relative root path of application being developed in C#.NET MVC?
body: <p>I have a few unit tests that require files from the project to be used to run the unit tests.  These files are just images.  I need to get the image file using some kind of function within c#, other than pasting the full path like below.</p>
  
  <pre><code>string filePath = @"C:\Users\user1\Documents\Visual Studio 2008\Projects\app1\app1.Tests\Fakes\test_files\test-image.jpg";
  </code></pre>
  
  <p>I will prefer to do something like:</p>
  
  <pre><code>string filePath = app.path + "\Fakes\test_files\test-images.jpg"
  </code></pre>
  
  <p>How can I do that?</p>
  
  <p>Thanks!</p>