I have created an Azure function using the 3.0.0-beta8
version of the Microsoft.Azure.Functions
, Microsoft.Azure.Functions.Core
and the Microsoft.Azure.WebJobs.Extensions
NuGet packages, and it does not resolve the QueueTriggerAttribute
package - has this been deprecated / moved to a new library?
It is not immediately apparent what I install to use this trigger in an Azure Function.
You have met the breaking change in new function runtime.
The Azure Storage bindings (blob, queues and tables triggers and bindings) were previously part of the runtime, but moving forward, will need to be explicitly installed.
Solution is to install this package Microsoft.Azure.WebJobs.Extensions.Storage
3.0.0-beta8
. For v2 functions, note that we should always install package of the latest version in Nuget.
Also make sure your runtime version is the latest. Check this issue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With