title: How to not copy app.config file to output directory
body: <p>I have a WPF application I am building.  I am using Visual Studio Community 2015.  In an effort to create a "true" release build, I am changing up some build settings so it only generates necessary files that will be installed on the user's computer.  So no vshost exe, no generated XML files, etc. etc. etc.  (I am retaining PDB file generation, however).</p>
  
  <p>I have everything exactly how I want it, except for one file.  I have an App.config file in each project.  I don't mind this getting copied to the output directory on my debug builds, but on my "true" release build I don't want it there.</p>
  
  <p>The file is already set as "Do not copy" in its properties.  See images below:</p>
  
  <p><a href="https://i.stack.imgur.com/WWaqr.png" rel="noreferrer"><img src="https://i.stack.imgur.com/WWaqr.png" alt="App.config image"></a></p>
  
  <p>Despite having the "Do not copy" setting, however, I still get an "MyAppName.exe.config" file generated <em>every single time I build the project</em>.  Why is this so?  How can I turn it off?  It is quite annoying.</p>
  
  <p>Thanks for any advice!</p>