title: C# build fails with invalid token text at root level of document
body: <p>I have a C# Windows Forms project that has a text file name db.config that contains a connection string like:</p>
  
  <pre><code>Data Source=localhost\SQLSRV;Initial Catalog=db;User Id=sa;Password=********;
  </code></pre>
  
  <p>The properties of the files are:</p>
  
  <ul>
  <li>Build action: Content</li>
  <li>Copy to Output Directory: Copy always</li>
  <li>Custom Tool: -</li>
  <li>Custom Tool Namespace: -</li>
  <li>File Name: <code>db.config</code></li>
  <li>Full Path: <code>c:\path\to\solution\Config\db.config</code></li>
  </ul>
  
  <p>When I am building the solution I get these two errors:</p>
  
  <ol>
  <li>Invalid token 'Text' at root level of document.</li>
  <li>XML document must contain a root level element</li>
  </ol>
  
  <p>Any idea how on how to fix the build ?</p>