Skip to content

Migrate to .NET 10 (LTS) - #3

Merged
dansleboby merged 1 commit into
mainfrom
claude/hopeful-babbage-yebol9
Sep 30, 2026
Merged

dansleboby merged 1 commit into
mainfrom
claude/hopeful-babbage-yebol9

Conversation

@dansleboby

Copy link
Copy Markdown
Owner

Summary

.NET 9 (STS) support ends in November 2026; .NET 10 is LTS (supported until November 2028).

  • net10.0-windows target for Canon.Core, Canon.API, Canon.Core.Tests.
  • .NET 10 SDK in the CI workflow, the release workflow and the Dockerfile (sdk:10.0-windowsservercore).
  • Packages: Microsoft.AspNetCore.OpenApi 10.0.12, Serilog.AspNetCore 10.0.0, Swashbuckle.AspNetCore.SwaggerUI 10.2.3, Microsoft.Extensions.ApiDescription.Server 10.0.12, Microsoft.Extensions.Logging.Abstractions 10.0.12, Autoupdater.NET.Official 1.9.3, Microsoft.NET.Test.Sdk 18.10.1, xunit.runner.visualstudio 3.1.5.
  • docs/openapi.json regenerated: OpenAPI 3.1 (was 3.0), duplicated CameraMode2 / TemperatureStatus2 schemas gone.
  • README, CLAUDE.md and CHANGELOG (Unreleased) updated. The README no longer says a .NET runtime is needed on the booth: the release is self-contained.

No code change was needed.

Testing

  • dotnet build CanonSDK.sln with the .NET 10.0.401 SDK: no errors or warnings.
  • dotnet test Canon.Core.Tests: 77/77, 3 runs.
  • dotnet publish -r win-x64 --self-contained -p:PublishSingleFile=true: single Canon.API.exe + EDSDK DLLs, as before.
  • API pipeline checked in a Linux host loading the real controllers (OpenAPI document, /status 200, problem details on invalid values).
  • CI on this PR runs build + tests on Windows.
  • Not tested with the camera: to check on the booth before the next release (AutoUpdater and EDSDK calls are unchanged).

🤖 Generated with Claude Code

https://claude.ai/code/session_01FRZmo7wsZGgxrgkKqib1At


Generated by Claude Code

- net10.0-windows target for all projects, .NET 10 SDK in CI, release workflow and Dockerfile
- Packages updated: ASP.NET Core OpenAPI 10.0.12, Serilog.AspNetCore 10.0.0,
  Swagger UI 10.2.3, ApiDescription.Server 10.0.12, Logging.Abstractions 10.0.12,
  AutoUpdater.NET 1.9.3, Microsoft.NET.Test.Sdk 18.10.1, xunit runner 3.1.5
- docs/openapi.json regenerated (OpenAPI 3.1)
- README/CLAUDE.md/CHANGELOG updated

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FRZmo7wsZGgxrgkKqib1At
@dansleboby
dansleboby merged commit 7009a86 into main Sep 30, 2026
1 check passed
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.

2 participants