Upgrade to .NET 10.0 and modernize project dependencies#18
Merged
mathieumack merged 2 commits intomainfrom Dec 9, 2025
Merged
Conversation
Updated CI to support .NET 10.0 and upgraded target frameworks in project files to `net10.0`. Simplified build configurations by removing redundant settings in `Directory.builds.prop`. Refactored tests to improve readability and align with modern practices. Upgraded NuGet dependencies to their latest versions to ensure compatibility and leverage new features. Added a markdown template for managing dependency upgrade requests, streamlining the process for future updates.
There was a problem hiding this comment.
Pull request overview
This PR upgrades the project from .NET 8.0/9.0 to .NET 9.0/10.0, updates all NuGet dependencies to their latest versions, and modernizes the codebase. The changes include updating CI workflows, simplifying build configurations, and refactoring tests to use modern assertion patterns.
Key Changes:
- Upgraded target frameworks to net9.0/net10.0 and updated CI to support .NET 10.0
- Updated all NuGet package dependencies to version 10.x or their latest compatible versions
- Modernized test assertions by replacing
[ExpectedException]attribute withAssert.Throws<T>
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/JSLTSharp/JSLTSharp.csproj | Updated target frameworks to net9.0/net10.0, upgraded dependencies to version 10.x, removed conditional framework-specific dependencies |
| src/JSLTSharp.Tests/JSLTSharp.Tests.csproj | Updated target framework to net10.0, upgraded test framework and assertion library dependencies |
| src/JSLTSharp.Tests/EmbededFunctions/ValueTransformations/ToBooleanTransformTests.cs | Refactored test to use Assert.Throws<T> instead of [ExpectedException] attribute |
| src/JSLTSharp.Tests/BaseTestsClass.cs | Added System namespace import |
| src/Directory.builds.prop | Removed entire build configuration file |
| .github/workflows/ci.yml | Added .NET 10.0.x to CI workflow |
| .github/ISSUE_TEMPLATE/upgrade_depedency.md | Added new issue template for dependency upgrade requests |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Updated CI to support .NET 10.0 and upgraded target frameworks in project files to
net10.0. Simplified build configurations by removing redundant settings inDirectory.builds.prop.Refactored tests to improve readability and align with modern practices. Upgraded NuGet dependencies to their latest versions to ensure compatibility and leverage new features.
Added a markdown template for managing dependency upgrade requests, streamlining the process for future updates.