Drop the redundant type attribute that breaks the Release build - #25
Conversation
Roslynator 4.16.0 promoted RCS1258 to flag TypeAttributes.Class beside TypeAttributes.Public. Class is zero, so naming it changes nothing about the emitted type - but Release treats warnings as errors, so main has not built in Release since the analyzer bump.
|
The red The runner's SDK moved to 10.0.400, whose bundled codestyle analyzers are built against Roslyn 5.9. The last green Two candidate fixes, both dependency-manifest changes:
I have not applied either — the repo instructions say not to change dependency manifests or |
The runner's SDK moved to 10.0.400, whose codestyle analyzers reference Roslyn 5.9. Microsoft.Net.Compilers.Toolset was pinned to 5.6.0 — the newest published — so every build failed with CS9057 before reaching any source. Arc does not pin the toolset and builds green on the same image. The pin arrived with the repository scaffolding rather than to satisfy a known compatibility need, so dropping it restores the SDK's own compiler and removes the class of failure. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LbPSU657Hg53GWXhYq74DN
|
Pushed What was failing, before any changed file was reached: The runner image moved to SDK 10.0.400; Bumping the pin is not an option — I checked nuget.org, and 5.6.0 is the newest published Dropping it matches the estate. Verified locally at SDK 10.0.301: |
Fixed
RCS1258to flag a redundantTypeAttributes.Classflag. The flag is zero, so the emitted dynamic read-model and command types are unchanged.