无法发布 azure 函数

Unable to publish the azure functions

我们有一个内置于 .Net Framework 4.6 中的 Azure 函数,最近我们更新了 Azure Functions with .Net Framework 4.8 在本地运行良好。因此,我们尝试通过转到 select 现有的 Azure 函数将其发布到 Live,如下图所示。

但是由于以下错误我们无法发布(发布遇到错误)。

如果我遗漏了什么,你能给我建议吗settings/configuration。

据我所知,azure function v1 支持 dotnet framework4.7,如 document 所示:

我在我这边用 dotnet 框架 4.8 测试它并显示与你相同的错误消息,所以我认为你最好将 dotnet 框架从 4.8 更改为 4.7。