Change C# language version to 7.2 in vs-code on Linux : <p>I read that <code>.NET Core 2.0</code> SDK support <code>C# 7.2</code> by default but the features of <code>C# 7.1</code> and <code>7.2</code> are disabled and we have to enable them.
I install both SDK and C# extension for vs-code, but when I compile my code I got this error: </p>

<blockquote>
  <p>Program.cs(118,2): error CS1513: } expected [/home/smn/Desktop/myTest.csproj]</p>
  
  <p>The build failed. Please fix the build errors and run again.  </p>
</blockquote>

<p>I also add these line to my <code>.csproj</code> file:</p>

<blockquote>
  <p><code>&lt;PropertyGroup"&gt;
      &lt;LangVersion&gt;7.2&lt;/LangVersion&gt;
      &lt;/PropertyGroup&gt;</code></p>
</blockquote>

<p>try this too:</p>

<pre><code>`&lt;PropertyGroup"&gt;
&lt;LangVersion&gt;latest&lt;/LangVersion&gt;
&lt;/PropertyGroup&gt;`
</code></pre>

<p>and also try this too:</p>

<pre><code>`&lt;PropertyGroup 
Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"&gt;
&lt;LangVersion&gt;latest&lt;/LangVersion&gt;
&lt;/PropertyGroup&gt;
&lt;PropertyGroup 
Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"&gt;
&lt;LangVersion&gt;latest&lt;/LangVersion&gt;
&lt;/PropertyGroup&gt;`
</code></pre>

<p>What should I do?!</p>
