Skip to content

Multiple GeneratedDurableTaskExtensions #659

Closed

Description

@martinewald

I have a Project which depends on two Projects which both have Durable Functions. This results in Multiple GeneratedDurableTaskExtensions in the Namespace Microsoft.DurableTask and the error: The type 'GeneratedDurableTaskExtensions' exists in both 'Project 1' and 'Project 2'.

As far as i understand this would be fixed by https://github.com/microsoft/durabletask-dotnet/pull/538/commits but this seems stuck.

How can I help to bring that commit over the finishing line?

Activity

  1. github-actions commented on Mar 12, 2026

    @github-actions
    Contributor

    Issue Triage

    Classification: triage/needs-human-verification

    Reasoning:
    This issue reports a namespace conflict when two projects both use Durable Task source generators, producing duplicate GeneratedDurableTaskExtensions in the Microsoft.DurableTask namespace. PR #538 already proposes a fix (generating extensions in the task namespace instead), but it has been stalled for several months. The fix approach requires maintainer review and approval before proceeding.

    Automated fix candidate: No

  2. added a commit that references this issue on Mar 15, 2026
    d5eb0e8
  3. YunchuWang commented on Mar 18, 2026

    @YunchuWang
    Member

    fix released in https://github.com/microsoft/durabletask-dotnet/releases/tag/v1.23.0 , please try the latest sourcegen pkg version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    source generatorsIssue relates to the source generator project(s)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions