Skip to content

GeneratedConfigurationBinder type is generated with no content #85057

@ericstj

Description

@ericstj

Description

I noticed that when using Microsoft.Extensions.Configuration.Binder.SourceGeneration and having no types that would trigger it, it still adds the GeneratedConfigurationBinder to my assembly.

Reproduction Steps

File -> new project.
Add reference to Microsoft.Extensions.Configuration.Binder 8.0.0-*
Enable the generator with property.
Examine compiled assembly.

Expected behavior

No GeneratedConfigurationBinder type

Actual behavior

GeneratedConfigurationBinder type exists

Regression?

No response

Known Workarounds

Disable the generator.

Configuration

No response

Other information

No response

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions