Skip to content

Drop Core's stray Logging.Abstractions 11 reference so the Site builds again [patch] - #85

Open
matt-edmondson wants to merge 4 commits into
mainfrom
fix/82-logging-abstractions-major
Open

matt-edmondson wants to merge 4 commits into
mainfrom
fix/82-logging-abstractions-major

Conversation

@matt-edmondson

@matt-edmondson matt-edmondson commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #82

What was wrong

Dependabot #81 bumped Microsoft.Extensions.Logging.Abstractions to 11.0.0 centrally. It also added a direct PackageReference ... VersionOverride="11.0.0" to CounterStrikeProgression.Core, which doesn't use the package. The reference flowed into CounterStrikeProgression.Site, replaced the ASP.NET Core 10 shared-framework copy, and ktsu.Sdk failed the Site build with KTSU0006 (LiveState.cs(28,97), MetricsEndpoints.cs(22,38)). main has not built since.

Change

  • Removed the Microsoft.Extensions.Logging.Abstractions reference from CounterStrikeProgression.Core.csproj.
  • Set the central PackageVersion back to the .NET 10 line, to match the CounterStrikeSharp host and the ASP.NET Core 10 framework. The plugin keeps its compile-only reference (ExcludeAssets="runtime").
  • .github/dependabot.yml: ignore version-update:semver-major for Microsoft.Extensions.*. Majors of these follow the target framework and shouldn't arrive one package at a time.

Update: merged main (MySqlConnector 3.0.0)

main moved on with #92 (MySqlConnector 3.0.0), which conflicted in Directory.Packages.props. The merge takes main's MySqlConnector 3.0.0. That version depends on Microsoft.Extensions.Logging.Abstractions >= 10.0.15, so the original 10.0.0 pin then failed restore with NU1605 (package downgrade). The pin is now 10.0.15, still on the .NET 10 line.

Verification

This change has no unit test: the regression is in the package graph, and the build itself is what checks it.


Generated by Claude Code

…s again [patch]

Dependabot #81 bumped Microsoft.Extensions.Logging.Abstractions to 11.0.0 and
added a direct reference to it in Core, which doesn't use it. The reference
flowed into the Site and replaced the ASP.NET Core 10 shared-framework copy,
so ktsu.Sdk failed the Site build with KTSU0006. Remove the reference, put the
central version back to 10.0.0 to match the host and the framework, and keep
Dependabot from proposing major bumps of Microsoft.Extensions.* on their own.

Fixes #82

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017vfJW4d7dbQrUhkrt4JoGT
Resolve Directory.Packages.props: take main's ktsu.Semantics.Strings 6.0.0
and keep this branch's Microsoft.Extensions.Logging.Abstractions 10.0.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017vfJW5B3W6WRadY4oRm8a7
matt-edmondson pushed a commit that referenced this pull request Nov 11, 2026
Resolve Directory.Packages.props: take main's ktsu.Semantics.Strings 6.0.0
and keep Microsoft.Extensions.Logging.Abstractions 10.0.0 from #85.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017vfJW5B3W6WRadY4oRm8a7
matt-edmondson and others added 2 commits November 12, 2026 20:23
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017vfJW55E1qd6SA7hhzHqoF
…eeds [patch]

main's MySqlConnector 3.0.0 depends on Microsoft.Extensions.Logging.Abstractions >= 10.0.15, so the 10.0.0 pin failed restore with NU1605. 10.0.15 stays on the .NET 10 line.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017vfJW55E1qd6SA7hhzHqoF
matt-edmondson added a commit that referenced this pull request Nov 12, 2026
Takes main's MySqlConnector 3.0.0 and the 10.0.15 Logging.Abstractions pin from #85, the floor MySqlConnector 3.0.0 needs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017vfJW55E1qd6SA7hhzHqoF
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

main doesn't build since #81: Core's new Microsoft.Extensions.Logging.Abstractions 11.0.0 reference fails the Site with KTSU0006

2 participants