c# - 无法加载文件或程序集“Microsoft.Bot.Builder.Autofac,
问题描述
我的 Bot 昨天运行良好,并且没有更改任何内容,由于某种原因,它给出了以下错误:
Exception while executing function: Functions.messages -> One or more errors
occurred. -> Could not load file or assembly 'Microsoft.Bot.Builder.Autofac,
Version=3.12.2.4, Culture=neutral, PublicKeyToken=31bf3856ad364f39' or one
of its dependencies. The system cannot find the file specified.
我不知道为什么它突然发生,没有任何变化。请帮忙..
解决方案
假设您使用的是 Functions v2,这可能是“昨天工作,今天不再工作”的原因:
https://github.com/Azure/app-service-announcements/issues/106 这还描述了如何恢复到应该修复它的先前版本。
进一步讨论:https ://github.com/Azure/app-service-announcements-discussions/issues/46
推荐阅读
- c++ - 如何连接字符串和 DWORD?
- html - 按钮值属性不采用 css
- arrays - 提取并分配选定的结构行
- symfony - 顶部带有额外行的数据表 - SgDatatablesBundle
- joomla2.5 - 如何在 Joomla 中为每篇文章添加不同的 OG 和 twitter 元标签
- ruby-on-rails - Rails:切片中的数组元素除外
- python - 绘制我们的 PCA 的累积解释方差
- c# - 了解 Global.asax.cs 中的 Application_Start
- angular - Angular路由和Lay加载模块的问题
- python - 如果函数未定义,scipy root 返回猜测