title: C# StreamWriter cant find File in the debug Folder
body: <p>I want to to write to a File in my Project. The file is located in the Project under <code>Files/settings.txt</code>. On settings.txt I changed the Value to <code>Always Copy</code>.</p>
  <p>In my Code I am getting a good looking Filepath, that looks correct to me, but it wont finde the File.
  Here is the Filepath that I have and that the Programm cant find: <code>D:\VIsual Studio Project Folder\NikoManagementSystem\NikoManagementSystem\bin\Debug\Files\settings.txt</code>.</p>
  <p>My Code is the following:</p>
  <pre><code>    StreamWriter sw = new StreamWriter(Environment.CurrentDirectory + &quot;/Files/settings.txt&quot;);
      sw.Write(settingsString);
      sw.Flush();
      sw.Close();
  </code></pre>
  <p>I wanna write in this File, but I always get the <code>System.IO.DirectoryNotFoundException</code> Error and It says that it cant find any file at <code>D:\VIsual Studio Project Folder\NikoManagementSystem\NikoManagementSystem\bin\Debug\Files\settings.txt</code></p>