Upgrade to .NET 10 (#958)#960
Merged
Merged
Conversation
Bump TargetFramework to net10.0 / net10.0-windows across all 7 projects, update CI workflows and build scripts, and refresh Microsoft.Extensions.* / System.Text.Json / ModelContextProtocol / Microsoft.NET.Test.Sdk to their current versions. Removes the explicit System.Text.Json reference from Lite since .NET 10 ships it in-runtime (NU1510). packages.lock.json files regenerated via --force-evaluate; transitive dependency lists shrank ~30% thanks to .NET 10 package pruning. Build: 0 warnings, 0 errors. Lite.Tests: 260/260, Installer.Tests fast filter: 27/27. .NET 8 LTS support ends 2026-11-10; .NET 9 already ended 2026-05-12. .NET 10 is LTS through 2028-11. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Upgrades the entire solution from .NET 8 to .NET 10 (LTS, supported through November 2028), and refreshes minor package versions while we're touching every csproj. Closes #958.
Why now
10.0.x(Microsoft.Extensions.*,System.Text.Json); the rest (Microsoft.Data.SqlClient,DuckDB.NET,ScottPlot.WPF,Velopack,ModelContextProtocol,xunit.v3) all support .NET 10Changes
TargetFramework bumps (7 projects):
Dashboard,Lite,Lite.Tests,Lite/Properties/PublishProfiles/FolderProfile.pubxml→net10.0-windowsInstaller,Installer.Core,Installer.Tests,tools/CompactionRepro→net10.0Package version bumps:
Microsoft.Extensions.Configuration/Configuration.Json/Hosting/Logging:10.0.7→10.0.8System.Text.Json:10.0.7→10.0.8(Dashboard only; removed from Lite — see below)ModelContextProtocol/ModelContextProtocol.AspNetCore:1.2.0→1.3.0Microsoft.NET.Test.Sdk:18.4.0→18.5.1Other:
System.Text.Jsonreference fromLite— .NET 10 ships it in-runtime (NU1510)packages.lock.jsonfiles regenerated via--force-evaluate; transitive lists shrank ~30% thanks to .NET 10 package pruningactions/setup-dotnetversion8.0.x→10.0.xinbuild.ymlandnightly.ymlInstaller/bin/Release/net8.0/...artifact paths updated tonet10.0in both workflows andbuild-dashboard.cmdREADME.md,CONTRIBUTING.md,Dashboard/README.md,Installer/README.mdAudit results — no deprecated or vulnerable packages.
Test plan
dotnet build PerformanceMonitor.sln -c Release→ 0 warnings, 0 errorsLite.Tests→ 260/260 passedInstaller.Tests(CI fast filter, skipping live-DB tests) → 27/27 passeddotnet publish Installer→ self-contained single-file.exeproduced (40 MB), launches and shows--help🤖 Generated with Claude Code