Open skykingjwc opened 7 months ago
@skykingjwc Thanks for bringing this to our attention. I'm going to assign this to the document author so they can take a look at it accordingly.
Is there a time for this feature to become available in isolated workers?
@skykingjwc what nuget package are you using for the queue trigger? It should be Microsoft.Azure.Functions.Worker.Extensions.Storage.Queues, not the WebJobs variant.
@gempio what feature are you referring to? Both Durable Functions and queue trigger functions are available already in the .NET Isolated worker.
cgillum exactly, the problem appears because Visual Studio suggests installing web jobs package
@stan-stepien that's really interesting. Do you have a screenshot you can share showing how Visual Studio is making this suggestion? It definitely shouldn't be making this suggestion.
@cgillum here's an example:
This is Visual Studio Pro 17.9.7 (latest as of May 21, 2024).
I had the same problem. Ignore Visual Studio, don't add the WebJobs package to your project, instead add this:
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Storage.Queues" Version="5.4.0" />
The attribute 'QueueTriggerAttribute' is a WebJobs attribute and not supported in the .NET Worker (Isolated Process).
Yes, I've installed the required Azure packages
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.