title: How to extract multiple lines to variables in msbuild
body: <p>I came across the following post 
  <a href="https://stackoverflow.com/questions/272518/msbuild-readlinesfromfile-all-text-on-one-line/22496219#22496219">MSBuild ReadLinesFromFile all text on one line</a></p>
  
  <p>From this I haven't been able to figure out how to do the following. </p>
  
  <p>What should I do if I want to ReadAllLines but want to store each line in a different variable without the semicolon?</p>
  
  <pre><code>&lt;ReadLinesFromFile File="@(File)"&gt;
      &lt;Output TaskParameter="Lines" ItemName="FileContents" /&gt;
  &lt;/ReadLinesFromFile&gt;
  &lt;Line1&gt;"What should I do here?" &lt;/Line1&gt;
  &lt;Line2&gt;"What should I do here?" &lt;/Line2&gt;
  </code></pre>