Skip to content

chore: target .NET 10 and .NET 11 for the schema tool (v4.4.0) - #64

Merged
kamronbatman merged 1 commit into
mainfrom
chore/net11
Nov 11, 2026
Merged

kamronbatman merged 1 commit into
mainfrom
chore/net11

Conversation

@kamronbatman

@kamronbatman kamronbatman commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

Summary

  • ModernUOSchemaGenerator targets net10.0;net11.0. Before, it was net10.0 only, so dotnet tool run could not start it on a machine with only the .NET 11 runtime, such as a CI runner set up from a .NET 11 global.json. The package now carries tools/net10.0 and tools/net11.0, and dotnet picks the one that matches the installed runtime.
  • The generator and annotations stay netstandard2.0 and need no change for .NET 11. All three packages move to 4.4.0 so their versions stay in step.
  • The tests target both frameworks; CI installs the 10.0.x and 11.0.x SDKs; publishing uses .NET 11.
  • The benchmarks and diff tool are dev-only and stay on net10.0.

Note: the tool already handled net11 projects before this change. Roslyn's out-of-process BuildHost rolls forward to the newest runtime. Only the tool's own process was tied to .NET 10.

Testing

  • dotnet test -c Release: 130/130 on net10.0 and 130/130 on net11.0.
  • Build warnings are unchanged from main (17, all pre-existing RS2008/NU5128).
  • I installed the packed 4.4.0 tool and ran it against ModernUO's net11.0 solution. A host trace shows it chose tools/net11.0 and ran on the 11.0.0 runtime. Both projects migrated cleanly, with no schema diff.

ModernUOSchemaGenerator was net10.0 only, so it could not launch on a
machine with only the .NET 11 runtime. The tool package now carries
tools/net10.0 and tools/net11.0 and dotnet picks the matching one.

The generator and annotations stay netstandard2.0; they are bumped to
4.4.0 to keep the three packages versioned together. The tests run on
both frameworks, and CI installs both SDKs. Publishing uses .NET 11.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kamronbatman
kamronbatman merged commit 9a35107 into main Nov 11, 2026
2 checks passed
@kamronbatman
kamronbatman deleted the chore/net11 branch November 11, 2026 02:52
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