title: Error: The current .NET SDK does not support targeting .NET Standard 2.0
body: <p>Getting annoying build errors since upgrading to VS2017 (v15.18.6) and dot net core 2.1.
  I previously was able to build the .sln from <a href="https://github.com/MiniProfiler/dotnet" rel="nofollow noreferrer">https://github.com/MiniProfiler/dotnet</a>.</p>
  
  <p>I'm new to the whole .net standard/core stuff (frankly find MS approach to this rather confusing and annoying!).
  Anyway since the upgrade to the new VS2017 build and 2.1, I get the following 2 errors:</p>
  
  <blockquote>
    <p>Severity   Code    Description Project File    Line    Suppression State
    Error       The current .NET SDK does not support targeting .NET Standard 2.0.  Either target .NET Standard 1.6 or lower, or use a version of the .NET SDK that supports .NET Standard 2.0. MiniProfiler.Shared C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Sdks\Microsoft.NET.Sdk\build\Microsoft.NET.TargetFrameworkInference.targets   126</p>
    
    <p>Error  NETSDK1050  The version of Microsoft.NET.Sdk used by this project is insufficient to support references to libraries targeting .NET Standard 1.5 or higher.  Please install version 2.0 or higher of the .NET Core SDK. MiniProfiler.Shared C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.NETFramework.targets  67  </p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/mVBgA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mVBgA.png" alt="enter image description here"></a></p>
  
  <p>Any ideas ?
  I have searched online and seem various similar issues but I don't really understand the underlying issue.</p>