The current.NET SDK does not support targeting .NET Core 3.1.Either target.NET Coare 1.1 or lower问题

问题

 VS2017出现问题:The current.NET SDK does not support targeting .NET Core 3.1.Either target.NET Coare 1.1 or lower,or use a version of the .NET SDK that supports.NET Core 3.1
 重新构建解决方案时出现以上问题,正常编译能通过,但是运行时出现问题:’“dotnet.exe”’ 不是内部或外部命令,也不是可运行的程序或批处理文件。

解决方案

 (1)下载:.NET Core 3.0
 (2)下载后查看:打开cmd,输入dotne,查看是否下载成功
The current.NET SDK does not support targeting .NET Core 3.1.Either target.NET Coare 1.1 or lower问题
 (3)安装成功后,问题就可以解决了!