Skip to content

Configuration Binder source generator creates namespace ambiguity and not found error #109759

Closed

Description

@ciaozhang

Description
When trying to use the Configuration Binder source generator in Microsoft.IdentityModel.S2S.DstsExtensions project, I'm getting compile errors.
Branch: https://identitydivision.visualstudio.com/DevEx/_git/Microsoft-IdentityModel-S2S/commit/57acb8a13628371366f73cb0730d3f7abe8a712a?refName=refs%2Fheads%2FXiao%2FTrimDsts

Reproduction Steps
build Microsoft.IdentityModel.S2S.DstsExtensions project with VS

Expected behavior
The project should build successfully.

Actual behavior
There are 3build errors:

Image

Here is the generated code:

https://microsoft-my.sharepoint-df.com/:w:/p/zhangxia/EQOQ4EWvfOdLoTSeUkg552wBEdsfceiutcTixc-Sg_xVgA?e=pOfPuJ

Activity

  1. added
    untriaged
    on Nov 13, 2024
  2. dotnet-policy-service commented on Nov 13, 2024

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @dotnet/area-extensions-configuration
    See info in area-owners.md if you want to be subscribed.

  3. added this to the 10.0.0 milestone on Nov 13, 2024
  4. added
    source-generator
    and removed
    untriaged
    on Nov 13, 2024
  5. tarekgh commented on Nov 13, 2024

    @tarekgh
    Member
  6. tarekgh commented on Nov 13, 2024

    @tarekgh
    Member
  7. ciaozhang commented on Nov 14, 2024

    @ciaozhang
    Author

    @tarekgh I tried configuration package v9.0.0 per @eerhardt suggestion but still get the same error.

  8. tarekgh commented on Nov 14, 2024

    @tarekgh
    Member

    Thanks @ciaozhang for trying it and letting us know the issue still reproduce.

  9. modified the milestones: 10.0.0, 11.0.0 on Jul 26, 2025
  10. rosebyte commented on Mar 6, 2026

    @rosebyte
    Member

    Triage: we will investigate and potentially fix it.

  11. locked and limited conversation to collaborators on Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area-Extensions-Configurationbugsource-generator

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions