microsoft / microsoft/durabletask-dotnet

New Class-Based Syntax for Azure Functions is not working (Error CS1061)

Open
#136 14 comments 3 reactions 1 assignee View on GitHub

@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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.