Skip to content

Upgrade to .NET 10.0 and modernize project dependencies#18

Merged
mathieumack merged 2 commits intomainfrom
feature/17-net10
Dec 9, 2025
Merged

Upgrade to .NET 10.0 and modernize project dependencies#18
mathieumack merged 2 commits intomainfrom
feature/17-net10

Conversation

@mathieumack
Copy link
Owner

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.

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.
@mathieumack mathieumack requested a review from Copilot December 9, 2025 21:18
@mathieumack mathieumack added the enhancement New feature or request label Dec 9, 2025
@mathieumack mathieumack linked an issue Dec 9, 2025 that may be closed by this pull request
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 with Assert.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.

@mathieumack mathieumack merged commit 31eaf24 into main Dec 9, 2025
2 of 3 checks passed
@mathieumack mathieumack deleted the feature/17-net10 branch December 9, 2025 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Prepare .net10 packaging version

1 participant