Reputation: 1179
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.
Upvotes: 10
Views: 4808
Reputation: 17800
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.
Upvotes: 35