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.

文章来自:https://www.cnblogs.com/chucklu/p/8400388.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3