我有一个托管在 Microsoft Azure 应用服务上的 .net core 2.1 应用程序。
它运行了几年,去年没有更新。
但它因标准输出中的错误而停止:
Error:
An assembly specified in the application dependencies manifest (Microsoft.AspNetCore.AzureAppServices.HostingStartup.deps.json) was not found:
package: 'Microsoft.AspNetCore.AzureAppServices.HostingStartup', version: '2.2.0'
path: 'lib/netcoreapp2.1/Microsoft.AspNetCore.AzureAppServices.HostingStartup.dll'
Run Code Online (Sandbox Code Playgroud)
而且它在虚拟机中的 IIS 中仍然运行良好。