The library hostpolicy.dll was not found

前端 未结 13 1197
自闭症患者
自闭症患者 2020-11-30 08:28

I have a simple .NET Core project (console app) that I\'m trying to compile and run. dotnet build succeeds, but I get the following error when I do dotnet

13条回答
  •  青春惊慌失措
    2020-11-30 08:59

    For me with ASP.NET Core 2.0 on Azure, it was the appname.deps.json that did the trick. You need to copy it from your build directory to Azure.

提交回复
热议问题