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
Description
I noticed that when using
Microsoft.Extensions.Configuration.Binder.SourceGenerationand having no types that would trigger it, it still adds theGeneratedConfigurationBinderto 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