title: dotnet build fails, but works when using MSBuild from Mono
body: <p>I'm having a asp.net core project running on asp.net core 2.0. The project was created with asp.net core 1.0. </p>
  
  <p>When running <code>dotnet build</code> I get errors like: </p>
  
  <pre><code>_Layout.sv.resx : error MSB3103: Invalid Resx file. Length cannot be less than zero.
  </code></pre>
  
  <p>It's the same for all resx files. </p>
  
  <p>How ever, if I run thru Rider Mac or Visual Studio Mac using MSBuild 15 from Mono framework it works just fine. </p>
  
  <p>But MSBuild from dotnet 2.0 does not work. </p>
  
  <p>Any ideas why this is?</p>