Add .NET 10 (LTS) target framework support#94
Merged
sfmskywalker merged 5 commits intodevelop/3.6.0from Dec 2, 2025
Merged
Conversation
…nq.Async Co-authored-by: sfmskywalker <938393+sfmskywalker@users.noreply.github.com>
Co-authored-by: sfmskywalker <938393+sfmskywalker@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add support for targeting .NET 10 LTS
Add .NET 10 (LTS) target framework support
Nov 16, 2025
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds .NET 10 (LTS) support to the Elsa Extensions project while maintaining backward compatibility with .NET 8 and .NET 9. The implementation follows best practices by multi-targeting library projects across all three framework versions (net8.0;net9.0;net10.0) while updating test, build, and workbench projects to single-target .NET 10.
Key Changes
- Multi-targeting for libraries: 78 library projects now target
net8.0;net9.0;net10.0viasrc/modules/Directory.Build.props - Conditional dependency management:
System.Linq.Asyncpackage is conditionally excluded for .NET 10 targets since async LINQ support is now native - CI/CD updates: GitHub Actions workflows updated to install .NET 8.x, 9.x, and 10.x SDKs to support multi-targeting builds
Reviewed changes
Copilot reviewed 16 out of 16 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
src/modules/Directory.Build.props |
Updated default TargetFrameworks to include net10.0 for all library modules |
test/modules/Directory.Build.props |
Updated default TargetFramework to net10.0 for test projects |
src/modules/scheduling/Elsa.Scheduling.Quartz/Elsa.Scheduling.Quartz.csproj |
Added net10.0 to multi-target frameworks |
src/modules/scheduling/Elsa.Scheduling.Quartz.EFCore.MySql/Elsa.Scheduling.Quartz.EFCore.MySql.csproj |
Added net10.0 to multi-target frameworks |
src/modules/agents/Elsa.Agents.Persistence.EFCore.MySql/Elsa.Agents.Persistence.EFCore.MySql.csproj |
Added net10.0 to multi-target frameworks |
src/modules/servicebus/Elsa.ServiceBus.Kafka/Elsa.ServiceBus.Kafka.csproj |
Added conditional exclusion of System.Linq.Async for .NET 10 |
src/modules/servicebus/Elsa.ServiceBus.AzureServiceBus/Elsa.ServiceBus.AzureServiceBus.csproj |
Added conditional exclusion of System.Linq.Async for .NET 10 |
build/_build.csproj |
Updated to single-target net10.0 |
src/workbench/Elsa.Server.Web/Elsa.Server.Web.csproj |
Updated to single-target net10.0 |
src/workbench/Elsa.ServerAndStudio.Web/Elsa.ServerAndStudio.Web.csproj |
Updated to single-target net10.0 |
src/workbench/ElsaStudioWebAssembly/ElsaStudioWebAssembly.csproj |
Updated to single-target net10.0 |
test/workbench/Elsa.TestServer.Web/Elsa.TestServer.Web.csproj |
Updated to single-target net10.0 |
test/modules/persistence/Elsa.MongoDb.UnitTests/Elsa.MongoDb.UnitTests.csproj |
Updated to single-target net10.0 |
Directory.Packages.props |
Added conditional package version configuration for net10.0 |
.github/workflows/pr.yml |
Added .NET 8.x and 10.x SDK installation alongside 9.x |
.github/workflows/packages.yml |
Added .NET 8.x, 9.x, and 10.x SDK installation |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.
src/modules/servicebus/Elsa.ServiceBus.Kafka/Elsa.ServiceBus.Kafka.csproj
Outdated
Show resolved
Hide resolved
src/modules/servicebus/Elsa.ServiceBus.AzureServiceBus/Elsa.ServiceBus.AzureServiceBus.csproj
Outdated
Show resolved
Hide resolved
…afka.csproj Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…rviceBus.AzureServiceBus.csproj Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.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.
Adds .NET 10 (LTS) as a target framework while maintaining backward compatibility with .NET 8 and .NET 9.
Changes
Target Frameworks
net8.0;net9.0;net10.0viasrc/modules/Directory.Build.props(78 projects)net10.0Conditional Dependencies
System.Linq.Async: Only included for .NET 8/9 (excluded from .NET 10 with native async LINQ)CI/CD
Modified Files (16)
src/modules/Directory.Build.propstest/modules/Directory.Build.propsDirectory.Packages.props.github/workflows/{pr,packages}.ymlWarning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
f.feedz.io/usr/bin/dotnet build /home/REDACTED/work/elsa-extensions/elsa-extensions/build/_build.csproj /nodeReuse:false /p:UseSharedCompilation=false -nologo -clp:NoSummary --verbosity quiet(dns block)/usr/bin/dotnet restore /home/REDACTED/work/elsa-extensions/elsa-extensions/Elsa.Extensions.sln --verbosity quiet(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.