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.

    原文作者:ChuckLu
    原文地址: https://www.cnblogs.com/chucklu/p/8400388.html
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞