Skip to content

Depend on the Microsoft.Extensions line of each target - #5

Merged
jacalapa merged 1 commit into
mainfrom
fix/per-target-dependencies
Oct 12, 2026
Merged

jacalapa merged 1 commit into
mainfrom
fix/per-target-dependencies

Conversation

@jacalapa

Copy link
Copy Markdown
Contributor

Replaces #4, which GitHub closed when its base branch was deleted on merge. Rebased onto main.

What

  • Every target depended on the 10.x Microsoft.Extensions.* packages, so an app on net8.0 or net9.0 was pulled up to them. Each target now depends on its own line from x.0.0 up: 8.0.0 for net8.0, 9.0.0 for net9.0, 10.0.12 for net10.0 (unchanged).
  • Microsoft.Extensions.FileProviders.Embedded stays on 10.x, because the .NET 10 SDK prunes older versions and with them the task that writes the embedded files manifest.
  • Npgsql and Microsoft.Data.SqlClient are unchanged.

Tests

  • Checked the packed Kododo.ConfigWay nuspec: one dependency group per target with the versions above.
  • Solution builds. Unit tests 164/164 on each of net8.0, net9.0 and net10.0 locally.

Every target depended on the 10.x Microsoft.Extensions packages, so an app
on net8.0 or net9.0 was pulled up to them. Each target now depends on the
packages of its own runtime line, from x.0.0 up.
@jacalapa
jacalapa merged commit a78eaba into main Oct 12, 2026
3 checks passed
@jacalapa
jacalapa deleted the fix/per-target-dependencies branch October 12, 2026 20:56
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.

1 participant