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

Azure Function运行报错:元数据文件未找到及编译问题求助

Azure Function(Cosmos触发器+API请求)编译报错“Metadata file could not be found”

我正在开发一个带有Cosmos触发器、需要向外部API发起请求的Azure Function应用,当前Function App运行时版本为~4。但运行时持续遇到编译错误,提示“Metadata file could not be found”。

错误截图如下:
错误截图1
错误截图2

我已经尝试将Microsoft.Azure.DocumentDB.Core作为依赖添加至project.json和function.proj文件中,但问题仍未解决,求可行的解决方案。

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

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.07.11 10:09:01