C:\Program Files\dotnet\sdk\2.1.4\Sdks\Microsoft.NET.Sdk\build\Microsoft.NET.TargetFrameworkInference.targets(135,5): error : The current .NET SDK does not support targeting .NET Core 2.1. Either target .NET Core 2.0 or lower, or use a version of the .NET SDK that supports .NET Core 2.1. [E:\GitHub\KerryJiang\SuperSocket\test\Test\Test.csproj]
https://stackoverflow.com/questions/46829923/the-current-net-sdk-does-not-support-targeting-net-core-2-0
If your platform target is 32bit, then you have to install x86 installation of the sdk.
The current .NET SDK does not support targeting .NET Core 2.1. ?Either target .NET Core 2.0 or lower, or use a version of the .NET SDK that supports .NET Core 2.1.
原文地址:https://www.cnblogs.com/chucklu/p/8400388.html