title: MsBuild WriteLinesToFile Task on multiple files
body: <p>I have the following in a AfterGet target in TFS.</p>
  
  <pre><code>&lt;ItemGroup&gt;
    &lt;AssemblyInfoFiles Include="$(SolutionRoot)\**\*assemblyinfo.cs" /&gt;
  &lt;/ItemGroup&gt;
  &lt;WriteLinesToFile
          File="@(AssemblyInfoFiles)"
          Lines="AssemblyInformationalVersion(&amp;quot;$(LabelName)&amp;quot;)]"
          Overwrite="false"/&gt;
  </code></pre>
  
  <p>The ItemGroup includes multiple files, but the WriteLinesToFile only expects a single file.</p>
  
  <p>And logs the following error:
  error MSB4094: "XXXX;YYYY;ZZZZ" is an invalid value for the "File" parameter of the "WriteLinesToFile" task. Multiple items cannot be passed into a parameter of type "Microsoft.Build.Framework.ITaskItem".</p>
  
  <p>How do I pass each item from the ItemGroup into the WriteLinesToFile Task?</p>