Add .NET 10 LTS target support with multi-targeting#674
Merged
sfmskywalker merged 4 commits intodevelop/3.6.0from Dec 2, 2025
Merged
Add .NET 10 LTS target support with multi-targeting#674sfmskywalker merged 4 commits intodevelop/3.6.0from
sfmskywalker merged 4 commits intodevelop/3.6.0from
Conversation
Co-authored-by: sfmskywalker <938393+sfmskywalker@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add targeting support for .NET 10 LTS
Add .NET 10 LTS target support with multi-targeting
Nov 16, 2025
sfmskywalker
approved these changes
Dec 2, 2025
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request adds .NET 10 LTS (released Nov 11, 2025) as a target framework while maintaining backwards compatibility with .NET 8 and .NET 9. The changes enable multi-targeting across all three frameworks so NuGet packages will contain assemblies for net8.0, net9.0, and net10.0 in their lib directories.
Key Changes:
- Extended multi-targeting to include .NET 10 alongside existing .NET 8 and 9 support
- Added conditional package version references for .NET 10 framework packages
- Updated CI/CD pipeline to install .NET 10 SDK and publish Custom Elements targeting net10.0
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| Directory.Build.props | Added net10.0 to the TargetFrameworks property for repository-wide multi-targeting |
| Directory.Packages.props | Added conditional ItemGroup for net10.0 with Microsoft framework package versions using $(MicrosoftVersion) property |
| .github/workflows/packages.yml | Updated SDK setup to install .NET 8.x, 9.x, and 10.x; changed Custom Elements publish target from net9.0 to net10.0; removed duplicate setup-dotnet action |
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.
… target framework Co-authored-by: sfmskywalker <938393+sfmskywalker@users.noreply.github.com>
Copilot stopped work on behalf of
sfmskywalker due to an error
December 2, 2025 09:59
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, released Nov 11, 2025) as a target framework while maintaining backwards compatibility with .NET 8 and .NET 9.
Changes
Build Configuration
Directory.Build.props: Addednet10.0toTargetFrameworkspropertyDirectory.Packages.props:MicrosoftVersionvariable and inlined package versions for each target framework8.0.22(with9.0.11for DependencyInjection.Abstractions to satisfy transitive deps)9.0.1110.0.0CI/CD
.github/workflows/packages.yml:net9.0tonet10.0All projects now multi-target
net8.0;net9.0;net10.0. NuGet packages will contain assemblies for all three frameworks in their lib directories.Notes
No System.Linq.Async conditional references required (package not used in repository).
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.