可以在Azure应用服务中找到.net作为版本
我将我的应用程序从3.1迁移到版本5。我部署了它,但是我收到以下错误:
HTTP错误500.31 -ANCM无法找到本机依赖关系 解决此问题的常见解决方案: 找不到Microsoft.netcore.app或Microsoft.aspnetcore.app的指定版本。 ANCM检测到的具体错误: 错误:未找到应用程序依赖项中指定的一个汇编(Microsoft.aspnetcore.azureapservices.hostingstartup.deps.json):'package:'Microsoft.aspnetcore.azureappservices.hostingstartup' 14'路径:'lib/netCoreApp5.0/microsoft.aspnetcore.azureappservices.hostingstartup.dll' 故障排除步骤: 检查系统事件日志中是否有错误消息 启用记录申请过程的stdout消息 将调试器附加到申请过程中,并检查
我进行了一些研究,发现我还需要更新我的应用程序服务,但是在我的应用服务中我找不到.NET 5作为列表。这就是下拉列表的样子:
得到相同的错误。有办法解决这个问题吗?
I migrated my app locally from 3.1 to version 5. I deployed it but I get the following error:
HTTP Error 500.31 - ANCM Failed to Find Native Dependencies
Common solutions to this issue:
The specified version of Microsoft.NetCore.App or Microsoft.AspNetCore.App was not found.
Specific error detected by ANCM:
Error: An assembly specified in the application dependencies manifest (Microsoft.AspNetCore.AzureAppServices.HostingStartup.deps.json) was not found: package: 'Microsoft.AspNetCore.AzureAppServices.HostingStartup', version: '5.0.0-preview.3.20215.14' path: 'lib/netcoreapp5.0/Microsoft.AspNetCore.AzureAppServices.HostingStartup.dll'
Troubleshooting steps:
Check the system event log for error messages
Enable logging the application process' stdout messages
Attach a debugger to the application process and inspect
I did some research and found that I need to update my App Service as well but I can't find .NET 5 as a listing in my App Service. This is what the dropdown looks like:
I added ASP.NET Core 5.0 (x64) Runtime
(because the platform is 32 bits) as an Extension as well but I kept getting the same error. Is there a way to fix this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论