title: How to build .csproj with C# 7 code from command line (msbuild)
body: <p>I use some C# 7 features in my project:</p>
  
  <pre><code>static void Main(string[] args)
  {
  }
  
  public byte ContainerVersion
  {
      get =&gt; 1;
      private set =&gt; throw new NotImplementedException();
  }
  </code></pre>
  
  <p>and it builds fine in visual studio 2017, but I get an error on my CI agent when using old msbuild (<code>v14.0 C:\Program Files (x86)\MSBuild\14.0\Bin\msbuid.exe consoleApplication.csproj.</code>):</p>
  
  <p><code>error CS1513: } expected</code>.</p>