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.

 

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.

posted @ 2018-02-01 18:05  ChuckLu  阅读(3504)  评论(0编辑  收藏  举报