首页 > 解决方案 > Azure Function deploy 说成功但不显示

问题描述

使用 Visual Studio Code 中的 Azure Functions 工具,我正在尝试部署 Azure 函数。我单击要部署的应用程序,一切都显示成功:

2:24:17 PM azureuser01: Omitting next output lines...
2:24:31 PM azureuser01: Waiting for long running command to finish...
2:24:48 PM azureuser01: Running post deployment command(s)...
2:24:50 PM azureuser01: Syncing 3 function triggers with payload size 291 bytes successful.
2:24:51 PM azureuser01: Deployment successful.
Deployment to "azureuseracct" completed.

我在用着:

Visual Studio Code - Insiders 版本 1.26.0-insider

Azure 函数 0.10.0

Azure 资源管理器 0.4.2

有任何想法吗?在哪里寻找问题?

标签: visual-studioazureserverless

解决方案


确保你没有忘记声明函数名,例如 [FunctionName("DeviceDataReceived")]在主运行的正上方。


推荐阅读