Skip to content

GH5177: Enable .NET 11 runtime async for net11.0 builds - #5178

Merged
devlead merged 1 commit into
cake-build:developfrom
devlead:feature/gh-5177
Nov 5, 2026
Merged

devlead merged 1 commit into
cake-build:developfrom
devlead:feature/gh-5177

Conversation

@devlead

@devlead devlead commented Nov 5, 2026

Copy link
Copy Markdown
Member
  • Add runtime-async=on to Features in src/Directory.Build.props, conditioned on $(TargetFramework) == 'net11.0'. net10.0 builds are unchanged.
  • Keep scripts on compiler state machines. Roslyn scripting 5.9.0 throws a NullReferenceException when a runtime-async script submission completes, so script compilation is not opted in. Tracked by Stable versions of dependencies #5002.
  • Verified Release build for net10.0 and net11.0 (0 warnings, 0 errors), unit tests, and integration tests (FileContent, FileAsync, CakeAliases) on both target frameworks.
  • fixes Enable .NET 11 runtime async for net11.0 builds #5177

- Add runtime-async=on to Features in src/Directory.Build.props, conditioned on
  $(TargetFramework) == 'net11.0'. net10.0 builds are unchanged.
- Keep scripts on compiler state machines. Roslyn scripting 5.9.0 throws a
  NullReferenceException when a runtime-async script submission completes, so
  script compilation is not opted in. Tracked by cake-build#5002.
- Verified Release build for net10.0 and net11.0 (0 warnings, 0 errors),
  unit tests, and integration tests (FileContent, FileAsync, CakeAliases) on
  both target frameworks.
- fixes cake-build#5177
@devlead
devlead merged commit 5a6816a into cake-build:develop Nov 5, 2026
18 checks 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.

Enable .NET 11 runtime async for net11.0 builds

1 participant