title: How concatenate files in MSBuild and preserve tabs and spaces
body: <p>I'm trying to concatenate a few files during my build but the way I tried strips out the tabs and spaces leaving the output unformatted. </p>
  
  <pre><code>&lt;CreateItem Include="Scripts\ApplicationModule.d.ts; Scripts\AccountModule.d.ts; Scripts\FeedModule.d.ts;"&gt;
    &lt;Output TaskParameter="Include" ItemName="ApplicationDefinitionFiles" /&gt;
  &lt;/CreateItem&gt;
  
  &lt;ReadLinesFromFile File="%(ApplicationDefinitionFiles.FullPath)"&gt;
    &lt;Output TaskParameter="Lines" ItemName="ApplicationDefinitionLines" /&gt;
  &lt;/ReadLinesFromFile&gt;
  
  &lt;WriteLinesToFile File="Scripts\ApplicationDefinition.d.ts" Lines="@(ApplicationDefinitionLines)" Overwrite="true" /&gt;
  </code></pre>
  
  <p>What's the way to preserve formatting?</p>