-
Notifications
You must be signed in to change notification settings - Fork 171
Update .NET dependencies to C# 13.0 and .NET 9.0 #834
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update .NET dependencies to C# 13.0 and .NET 9.0 #834
Conversation
Co-authored-by: BenjaminMichaelis <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
|
@copilot did we update any relevant documentation and similar? |
Co-authored-by: BenjaminMichaelis <[email protected]>
Yes, I've updated the documentation in commit f5f79e2:
|
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.