- 
                Notifications
    You must be signed in to change notification settings 
- Fork 5.2k
Closed
Closed
Copy link
Labels
area-Extensions-Configurationbugsource-generatorIndicates an issue with a source generator featureIndicates an issue with a source generator feature
Milestone
Description
Description
Updating to .NET SDK 8.0.100-rc.2.23428.11 from 8.0.100-rc.2.23427.4 introduces compilation errors in the configuration binding source generator:
Error: /home/runner/work/costellobot/costellobot/src/Costellobot/Microsoft.Extensions.Configuration.Binder.SourceGeneration/Microsoft.Extensions.Configuration.Binder.SourceGeneration.ConfigurationBindingGenerator/BindingExtensions.g.cs(59,227): error CS1003: Syntax error, ',' expected [/home/runner/work/costellobot/costellobot/src/Costellobot/Costellobot.csproj]
Error: /home/runner/work/costellobot/costellobot/src/Costellobot/Microsoft.Extensions.Configuration.Binder.SourceGeneration/Microsoft.Extensions.Configuration.Binder.SourceGeneration.ConfigurationBindingGenerator/BindingExtensions.g.cs(58,35): error CS0246: The type or namespace name 'IOptionsChangeTokenSource<>' could not be found (are you missing a using directive or an assembly reference?) [/home/runner/work/costellobot/costellobot/src/Costellobot/Costellobot.csproj]
Error: /home/runner/work/costellobot/costellobot/src/Costellobot/Microsoft.Extensions.Configuration.Binder.SourceGeneration/Microsoft.Extensions.Configuration.Binder.SourceGeneration.ConfigurationBindingGenerator/BindingExtensions.g.cs(58,76): error CS0246: The type or namespace name 'ConfigurationChangeTokenSource<>' could not be found (are you missing a using directive or an assembly reference?) [/home/runner/work/costellobot/costellobot/src/Costellobot/Costellobot.csproj]
/cc @layomia
Reproduction Steps
- Clone martincostello/costellobot@09ae9ea.
- Run build.ps1in the root of the repository.
Expected behavior
The application compiles.
Actual behavior
The application fails to compile with CS1003 and CS0246 errors.
Regression?
Yes compared to recent preview builds.
Known Workarounds
None.
Configuration
.NET SDK 8.0.100-rc.2.23428.11
Other information
No response
Metadata
Metadata
Assignees
Labels
area-Extensions-Configurationbugsource-generatorIndicates an issue with a source generator featureIndicates an issue with a source generator feature