部署.net Core 到 Windows server 2008 r2 IIs
1. 将项目发布 2、iis 新建网站,设置 3 安装windows server hosting 4 关于报错 1.下载sdk https://www.microsoft.com/net/learn/get-started/windows 2.下载 .NET Core Windows Server Hosting https://www.nuget.org/packages/Microsoft.AspNetCore.Hosting.WindowsServices/ 需要验证 dotnet 是否能正常使用, 在cmd中 进入 C:\Program Files\dotnet>dotnet --version 提示 api ms win crt runtime 1-1-0.dll 丢失,需要下载安装。 3.Files\dotnet\host\fxr\1.0.1\hostfxr.dll], HRESULT: 0x80070057】错误 win2008server R2 x64 部署.net core到IIS上出现 【Failed to load the dll from [C:\Program Files\dotnet\host\fxr\1.0.1\hostfxr.dll], HRESULT: 0x80070057】错误 解决方法: 需要安装补丁:KB2533623 下载地址如下: