microsoft / microsoft/durabletask-dotnet
New Class-Based Syntax for Azure Functions is not working (Error CS1061)
Open
@YunchuWang is already working on this.
Since Jan 4, 2026.
bug
P2
- Dominant language
- C#
- Stars
- 193
- Forks
- 60
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 4
Description
Hello,
I just gave this sample a go. I copied the content 1:1 in a new file in my Azure Functions project. I have also included a reference to the Microsoft.DurableTask.Generators package version 1.0.0-preview.1.
However, VS complains that no such extensions methods, like e.g. CallSayHelloTypedAsync(), can be found. Basically I am unclear if the generators, supposed to generate exactly that, have run or not. How would these be triggered to run?
Error CS1061
'TaskOrchestrationContext' does not contain a definition for 'CallSayHelloTypedAsync' and no accessible extension method 'CallSayHelloTypedAsync' accepting a first argument of type 'TaskOrchestrationContext' could be found (are you missing a using directive or an assembly reference?)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.