Update .NET dependencies to C# 13.0 and .NET 9.0#834
Merged
BenjaminMichaelis merged 6 commits intov13.0from Oct 4, 2025
Merged
Update .NET dependencies to C# 13.0 and .NET 9.0#834BenjaminMichaelis merged 6 commits intov13.0from
BenjaminMichaelis merged 6 commits intov13.0from
Conversation
Co-authored-by: BenjaminMichaelis <22186029+BenjaminMichaelis@users.noreply.github.com>
Copilot
AI
changed the title
Update the .net dependencies as much as we can without
1. Breaking out tests
2. Causing any build warnings or errors
You can update TFM's and LangVersion (and global.json) - but only to C# 13.0 and it's compatible .net version (I think .net 9.0?)
Update .NET dependencies to C# 13.0 and .NET 9.0
Oct 3, 2025
There was a problem hiding this comment.
Pull Request Overview
Updates .NET dependencies to use the latest stable versions (C# 13.0 and .NET 9.0) while removing end-of-life framework targets to eliminate warnings and modernize the codebase.
- Updated SDK version from 8.0.0 to 9.0.0
- Upgraded C# language version from 12.0 to 13.0
- Simplified target frameworks from net8.0;net7.0;net6.0 to net9.0;net8.0
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| global.json | Updates .NET SDK version to 9.0.0 for latest tooling |
| Directory.Build.props | Enables C# 13.0 language features across all projects |
| Common.props | Removes EOL frameworks and targets .NET 9.0 and 8.0 |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Member
|
@copilot did we update any relevant documentation and similar? |
Co-authored-by: BenjaminMichaelis <22186029+BenjaminMichaelis@users.noreply.github.com>
Contributor
Author
Yes, I've updated the documentation in commit f5f79e2:
|
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.
This PR updates the project dependencies to use the latest stable versions of .NET and C# while maintaining compatibility and ensuring no tests break.
Changes
Updated three key configuration files to modernize the .NET stack:
8.0.0→9.0.012.0→13.0(C# 13)net8.0;net7.0;net6.0→net9.0;net8.0Updated documentation to reflect the new versions:
6.0.x,7.0.x,8.0.xto8.0.x,9.0.xRationale
Validation
✅ Build: Solution builds successfully with 0 errors
✅ Tests: All tests pass across both target frameworks (net9.0 and net8.0)
✅ Warnings: No new warnings introduced; only expected warnings remain (intentional
#warningdirectives and SYSLIB warnings for code examples)✅ SDK: Verified using .NET 9.0.305 SDK
All existing tests continue to pass, confirming no breaking changes were introduced.
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.