Skip to content

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

Open
@ciaozhang

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions