title: Get Files In Project Folder
body: <p>I have an Images folder in my visual studio project.</p>
  
  <p>How can I reference the images within this folder so I can use the .exe file on other computers?</p>
  
  <p>Ultimately I am trying to do the following (obviously replacing "Images/image1.jpg" with imageFile).</p>
  
  <pre><code>foreach (string imageFile in imageFolder)
  {
     ImageSource imageSource = new BitmapImage(new Uri("Images/image1.jpg", UriKind.Relative));
  }
  </code></pre>
  
  <p>Using something like:</p>
  
  <pre><code>Directory.GetParent(Directory.GetCurrentDirectory()).Parent.FullName
  </code></pre>
  
  <p>doesn't work because the .exe could be running in any location.</p>