HTTP Error 500.31 - ANCM Failed to Find Native Dependencies

在服务器上部署.net core2.2项目

我已经在服务器安装了dotnet-runtime-3.1.8-win-x64 和dotnet-hosting-3.1.8-win 但部署2.2项目遇到500.13错误

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.
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
For more information visit: https://go.microsoft.com/fwlink/?LinkID=2028526

这种情况下我是又安装了dotnet-hosting-2.2.8-win 和dotnet-runtime-2.2.8-win-x64的运行时 才解决的

还是觉得有点疑惑 ,在已经安装3.1捆绑包的情况下部署2.2项目会遇到找不到依赖项的情况

运行dotnet --info
在这里插入图片描述
记录一下

  • 3
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值