You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何在C#单个Azure Function中创建Http Trigger与Time Trigger及排错

已解决:Azure Function多触发器运行时程序集加载错误

问题背景

我开发了一个包含Http Trigger和Timer Trigger的Azure Function项目,运行时抛出程序集加载失败的错误:

Could not load file or assembly 'Microsoft.Azure.WebJobs.Host, Version=3.0.31.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. 系统找不到指定的文件。

解决步骤

将Visual Studio以及对应的.NET构建工具更新至最新版本后,该运行错误完全解决。


内容的提问来源于stack exchange,提问作者khert

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.04 19:50:29