简体   繁体   English

服务总线队列未触发 azure function

[英]service bus queue not triggering azure function

I am getting an error我收到一个错误

Function (FunctionApp120200507193944/Function1) Error: The binding type(s) 'serviceBusTrigger' are not registered. Function (FunctionApp120200507193944/Function1) 错误:绑定类型“serviceBusTrigger”未注册。 Please ensure the type is correct and the binding extension is installed.请确保类型正确并安装了绑定扩展。 Session Id: 7dc83962fc064a66939fa98988d93543 Timestamp: 2020-05-07T15:50:51.441Z Session ID:7dc83962fc064a66939fa98988d93543 时间戳:2020-05-07T15:50:51.441Z

please suggest.请建议。

Check your function package picture, the Microsoft.NET.Sdk.Functions 3.0.7 is not loaded.检查您的 function package 图片, Microsoft.NET.Sdk.Functions 3.0.7未加载。 Then I download your function project, load it to vs then I found you are using .net core 2.1, so this is conflicted, you could update the .net core to .net core 3 or downgrade the function version to v2. Then I download your function project, load it to vs then I found you are using .net core 2.1, so this is conflicted, you could update the .net core to .net core 3 or downgrade the function version to v2.

I have tried, just change the Microsoft.NET.Sdk.Functions to 1.0.36 then it will work.我试过了,只需将Microsoft.NET.Sdk.Functions更改为1.0.36

在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM