title: How to use .settings files in .NET core?
body: <p>I'm porting an application to .NET core which relies on a <code>.settings</code> file. Unfortunately, I can't find a way to read it from .NET core. Normally, adding the following lines to the <code>.csproj</code> would generate a <code>TestSettings</code> class that would let me read the settings.</p>
  
  <pre><code>&lt;ItemGroup&gt;
      &lt;None Include="TestSettings.settings"&gt;
          &lt;Generator&gt;SettingsSingleFileGenerator&lt;/Generator&gt;
      &lt;/None&gt;
  &lt;/ItemGroup&gt;
  </code></pre>
  
  <p>Unfortunately, this no longer seems to do anything. I can't even verify that the <code>SettingsSingleFileGenerator</code> runs at all. This <a href="https://github.com/Microsoft/msbuild/issues/2782" rel="noreferrer">GitHub issue</a> suggests that this is a bug with the new <code>.csproj</code> format, but no one has offered an alternative.</p>
  
  <p>What is the proper way of reading <code>.settings</code> files in .NET core?</p>