Skip to content

Add .NET 10.0 (LTS) support; drop EOL target frameworks - #84

Open
mayuanyang wants to merge 3 commits into
masterfrom
feature/add-net10
Open

Add .NET 10.0 (LTS) support; drop EOL target frameworks#84
mayuanyang wants to merge 3 commits into
masterfrom
feature/add-net10

Conversation

@mayuanyang

Copy link
Copy Markdown
Owner

Closes #83

What changed

Project Before After
Mediator.Net (core) netstandard2.0;netstandard2.1;net8.0;net9.0 + net10.0
MicrosoftDI, Autofac, StructureMap, SimpleInjector netstandard2.0;netstandard2.1;net5.0;net6.0;net7.0;net8.0;net9.0 Removed 5/6/7, + net10.0
Middlewares.Serilog netstandard2.0;netstandard2.1;net5.0;net6.0 netstandard2.0;netstandard2.1;net8.0;net9.0;net10.0
TestUtil netstandard2.0;netstandard2.1;net5.0;net6.0 netstandard2.0;netstandard2.1;net8.0;net9.0;net10.0
Main / Autofac / MSDI tests net8.0;net9.0 + net10.0
SimpleInjector.Test / StructureMap.Test netcoreapp3.1;net5.0;net6.0 (all EOL) net8.0;net9.0;net10.0
WebApiSample + Test net9.0 net10.0
CI SDK installs 8.0.x, 9.0.x + 10.0.x

Additional cleanup

  • Removed stale net45 conditional blocks from Middlewares.Serilog.csproj
  • Removed self-referencing Mediator.Net NuGet package reference from Serilog (it already uses a ProjectReference)
  • Fixed backslash paths in ci.yml test commands (Linux runners use /)
  • Added SimpleInjector.Test and StructureMap.Test to the CI test run (they were omitted)
  • Bumped Microsoft.AspNetCore.Mvc.NewtonsoftJson 9.0.7 → 10.0.7
  • Bumped Microsoft.AspNetCore.Mvc.Testing 6.0.1 → 10.0.7

Note on local verification

The local machine has SDK 9.0.101 which rejects net10.0 targets at restore time — CI with the 10.0.x SDK is the verification gate for the new target.

🤖 Generated with Claude Code

mayuanyang and others added 3 commits May 11, 2026 05:55
Library packages (Mediator.Net, MicrosoftDI, Autofac, StructureMap,
SimpleInjector): netstandard2.0;netstandard2.1;net8.0;net9.0;net10.0
  - Removed EOL targets: net5.0, net6.0, net7.0

Middlewares.Serilog / TestUtil: was net5.0;net6.0, now net8.0;net9.0;net10.0
  - Also removed stale net45 conditional blocks from Serilog csproj
  - Removed self-referencing Mediator.Net package reference from Serilog

Test projects (main, Autofac, MSDI): added net10.0
SimpleInjector.Test / StructureMap.Test: replaced all-EOL
  netcoreapp3.1;net5.0;net6.0 with net8.0;net9.0;net10.0
  - Also added these two projects to the CI test run (they were omitted)

WebApiSample / WebApiSample.Test: upgraded from net9.0 to net10.0
  - Microsoft.AspNetCore.Mvc.NewtonsoftJson: 9.0.7 -> 10.0.7
  - Microsoft.AspNetCore.Mvc.Testing: 6.0.1 -> 10.0.7

CI workflows: add 10.0.x SDK; fix backslash paths to forward-slash on Linux

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Both packages have fallen behind (last touched for net6/netcoreapp3.1)
and are not worth maintaining alongside the actively supported
MicrosoftDependencyInjection and Autofac integrations.

- Deleted src/Mediator.Net.SimpleInjector/
- Deleted src/Mediator.Net.SimpleInjector.Test/
- Deleted src/Mediator.Net.StructureMap/
- Deleted src/Mediator.Net.StructureMap.Test/
- Removed their dotnet test steps from ci.yml

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

Add .NET 10.0 (LTS) support and drop EOL target frameworks

1 participant