Skip to content

Conversation

@frequency403
Copy link

This pull request updates the project to support newer .NET versions and improves compatibility across multiple frameworks. The most significant changes are the addition of .NET 10.0, 9.0, and 8.0 targets, and adjustments to language version settings to ensure proper compilation. There is also a minor API change to the command execution method.

Framework and language version updates:

  • Expanded supported target frameworks in Spectre.Console.Extensions.Hosting.csproj to include net10.0, net9.0, and net8.0, and added conditional logic to set the LangVersion based on the target framework.
  • Updated the target framework in SingleCommand.csproj from net6.0 to net10.0.

API changes:

  • Modified the signature of the Execute method in DefaultCommand to accept an additional CancellationToken parameter, improving support for cancellation in command execution.

frequency403 and others added 2 commits December 10, 2025 22:31
…anguage version handling; add `CancellationToken` to DefaultCommand.Execute signature.
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