Skip to content

feat: add net10.0 target framework to com.IvanMurzak.CodeExec - #17

Merged
IvanMurzak merged 3 commits into
mainfrom
feat/net10-support
Nov 17, 2026
Merged

IvanMurzak merged 3 commits into
mainfrom
feat/net10-support

Conversation

@IvanMurzak

Copy link
Copy Markdown
Owner

Summary

Adds net10.0 to Code-Exec Core (dotnet/CodeExec/CodeExec.csproj: netstandard2.0;net8.0 → +net10.0). On net10.0 Core takes the same NET8_0_OR_GREATER collectible AssemblyLoadContext host as net8.0. netstandard2.0 (Unity/Mono, .NET Framework) is unchanged, and so is the vendored source: no .cs file changed, and Core stays C# 9 and dependency-free. CodeExec.Roslyn and SourceConsumer are untouched. No version bump, no release.

  • samples/PackageConsumer now targets net8.0;net10.0, and scripts/consume.sh runs it per TFM, so CI's package job and the release gate exercise the packed lib/net10.0 too. Verified locally: the assets file resolves lib/net10.0/com.IvanMurzak.CodeExec.dll for net10.0 and lib/net8.0/… for net8.0.
  • CI already installs 8.0.x + 10.0.x and already tests on net8.0 and net10.0. No workflow change.
  • Docs: AGENTS.md, README, PACKAGE.md.

Pack evidence (scripts/pack.sh, origin/main vs this branch, version 0.4.1)

com.IvanMurzak.CodeExec file list diff:

+ lib/net10.0/com.IvanMurzak.CodeExec.dll
+ lib/net10.0/com.IvanMurzak.CodeExec.xml

nuspec diff:

+ <group targetFramework="net10.0" />
  • lib/netstandard2.0/* and lib/net8.0/* (dll + xml) are byte-identical (cmp). The existing dependency groups are unchanged (empty).
  • com.IvanMurzak.CodeExec.Roslyn: file list, nuspec and all src/ and build/ files are identical.

Tests (local)

  • Build: 0 warnings.
  • CodeExec.Tests: 332/332 on net8.0 and on net10.0, with Roslyn 4.8.0 and 3.8.0.
  • scripts/consume.sh 3.8.0 5.9.0: all four runs (2 Roslyn × 2 TFMs) succeed.

Note for the train (outside this repo)

A code-exec train makes the Godot-MCP chain legs self-pack CodeExec.csproj. Their setup-dotnet steps install only 8.0.x/9.0.x. That works only if the hosted ubuntu-latest image already ships SDK 10; otherwise the pack fails with NETSDK1045. Worth adding 10.0.x there before the next train. The same applies to ReflectorNet's net10 change.

Quality stages

  • /simplify: comment and README wording (simplify: commit).
  • Code review (high, report-only): no correctness defects. Packed net10.0 coverage via PackageConsumer (code review: commit).

🤖 Generated with Claude Code

IvanMurzak and others added 3 commits November 17, 2026 01:48
CodeExec Core: netstandard2.0;net8.0 -> + net10.0 (collectible
AssemblyLoadContext host, same as net8.0). The package gains lib/net10.0 and an
empty net10.0 dependency group; netstandard2.0 and net8.0 are unchanged.
CodeExec.Roslyn (source-only) and the samples are untouched. CI already
installs 10.0.x and the tests already run on net8.0 and net10.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…work wording

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… lib/net10.0 is exercised

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@IvanMurzak
IvanMurzak merged commit a497076 into main Nov 17, 2026
13 checks passed
@IvanMurzak
IvanMurzak deleted the feat/net10-support branch November 17, 2026 10:11
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