Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/EmptyTag/143.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Azure functions Azure函数绑定类型面临问题_Azure Functions_Azure Functions Runtime - Fatal编程技术网

Azure functions Azure函数绑定类型面临问题

Azure functions Azure函数绑定类型面临问题,azure-functions,azure-functions-runtime,Azure Functions,Azure Functions Runtime,在我们之前的项目中,Azure函数使用.NET Framework 4.6.1,运行时版本为~1。 将相同的代码部署到新的应用程序服务时,默认情况下运行时版本为3.0.15417.0和.netcore3.0。 发布时,我们面临以下问题,如果我单击“是”并继续,应用程序将被发布。但门户中的应用程序无法运行,因此将更改恢复为~3版。 我们正在使用blob触发器和发送网格。。 并可能看到绑定类型“blob rigger,blob”未注册。请确保类型正确且已安装绑定扩展 将运行时版本设置为v1是正确的

在我们之前的项目中,Azure函数使用.NET Framework 4.6.1,运行时版本为~1。 将相同的代码部署到新的应用程序服务时,默认情况下运行时版本为3.0.15417.0和.netcore3.0。 发布时,我们面临以下问题,如果我单击“是”并继续,应用程序将被发布。但门户中的应用程序无法运行,因此将更改恢复为~3版。 我们正在使用blob触发器和发送网格。。 并可能看到绑定类型“blob rigger,blob”未注册。请确保类型正确且已安装绑定扩展


运行时版本设置为
v1
是正确的。您的问题是未在
应用程序设置中配置
连接

例如:

您需要在
应用程序设置
中配置
连接


这能解决您的问题吗?如果您有任何其他问题,请告诉我!
host.json
{
  "version": "2.0",
  "extension Bundle": {
    "id": "Microsoft.Azure.Functions.ExtensionBundle",
    "version": "[1.*, 2.0.0)"
  }
}