IIS部署core项目需要安装的环境
core2.2
dotnet-hosting-2.2.8-win.exe
dotnet-runtime-2.2.8-win-x64.exe
https://dotnet.microsoft.com/download/dotnet-core/2.2
core3.1
dotnet-hosting-3.1.6-win.exe
dotnet-runtime-3.1.6-win-x64.exe
https://dotnet.microsoft.com/download/dotnet-core/3.1
然后重启电脑