title: The current .NET SDK does not support targeting .NET Core 2.1
body: <pre><code> Either target .NET Core 2.0 or lower, or use a version of the .NET SDK that supports .NET Core 2.1.    Microsoft.AspNetCore.Identity.Test  C:\Program Files\dotnet\sdk\2.1.4\Sdks\Microsoft.NET.Sdk\build\Microsoft.NET.TargetFrameworkInference
  </code></pre>
  
  <p>I try to build Microsoft sample <a href="https://github.com/aspnet/Identity/tree/dev/samples/IdentitySample.Mvc" rel="nofollow noreferrer">https://github.com/aspnet/Identity/tree/dev/samples/IdentitySample.Mvc</a></p>
  
  <p>I have installed Netcore SDK 2.1.4</p>
  
  <p><code>dotnet --info</code> shows 2.0.5 </p>
  
  <p>Why it shows error?</p>