Unable to load application or execute command 'Microsoft.AspNet.Server.Kestrel'

后端 未结 1 1843
野趣味
野趣味 2021-01-05 18:09

I am trying to deploy my ASP.NET 5 WebApi to a remote server (Windows server 2008 R2) and am having trouble getting it to run correctly with IIS.

project.json

<
相关标签:
1条回答
  • 2021-01-05 18:38

    Make sure you have all the dependencies installed on target server. Run dnu list in cmd to see all the project dependencies.

    If some of them are not installed (they will appear red) run dnu restore to restore all packages.

    You can also make sure that your project builds successfully by running dnu build

    Hope it helps..

    0 讨论(0)
提交回复
热议问题