Skip to content

Migrate CompactGUI to .NET 10 - #15

Merged
marcmy merged 7 commits into
masterfrom
agent/migrate-dotnet-10
Aug 8, 2026
Merged

Migrate CompactGUI to .NET 10#15
marcmy merged 7 commits into
masterfrom
agent/migrate-dotnet-10

Conversation

@marcmy

@marcmy marcmy commented Aug 8, 2026

Copy link
Copy Markdown
Owner

What changed

  • migrate all CompactGUI projects from .NET 9 to .NET 10
  • update the Windows-targeted projects to net10.0-windows
  • update the cross-platform logging project to net10.0
  • add EnableWindowsTargeting=true to the WPF app so GitHub's Linux-based automatic NuGet dependency submission can restore it
  • update Microsoft runtime packages to the current stable 10.0.10 line
  • update the Windows build workflow to install the .NET 10 SDK

Why

CompactGUI was targeting .NET 9 while .NET 10 is the current LTS release. GitHub's Automatic Dependency Submission workflow also failed restoring the WPF project on Ubuntu with NETSDK1100 because Windows targeting was not explicitly enabled.

Package updates

  • Microsoft.Extensions.Caching.Memory: 9.0.7 → 10.0.10
  • Microsoft.Extensions.DependencyInjection: 9.0.7 → 10.0.10
  • Microsoft.Extensions.Hosting: 9.0.7 → 10.0.10
  • Microsoft.Extensions.Logging: 9.0.5 → 10.0.10
  • System.Management: 9.0.5 → 10.0.10

Validation

CI will validate restore, warnings-as-errors, self-contained Windows x64 publish, packaging, and supply-chain checks.

@marcmy
marcmy marked this pull request as ready for review August 8, 2026 16:04
@marcmy
marcmy merged commit 9e49cf9 into master Aug 8, 2026
9 checks passed
@marcmy
marcmy deleted the agent/migrate-dotnet-10 branch August 8, 2026 16:04
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