Skip to content

Conversation

@AbdulhakimZ
Copy link

@AbdulhakimZ AbdulhakimZ commented Jan 1, 2026

Summary

This PR modernizes the project infrastructure by upgrading from .NET 5.0 (end-of-life) to .NET 10.0 LTS, enabling C# 14 language features, and updating all dependencies to their latest stable versions. This provides a solid foundation for implementing modern C# features and ensures long-term maintainability.

Changes

1. Target Framework Upgrade

  • From: net5.0 To: net10.0
  • Language Version: Enabled C# 14 features preview

2. Dependency Refresh

  • Updated all NuGet packages to latest stable LTS versions
  • Key updates include Newtonsoft.Json, RestSharp, CommandLineParser, Microsoft.CodeAnalysis.CSharp, Microsoft.NET.Test.Sdk, xUnit, NUnit3TestAdapter and supporting libraries
  • Addressed any breaking changes from dependency updates

3. Build & Infrastructure

  • Resolved all compiler warnings from obsolete APIs

Performance Impact

  • Leveraged .NET 10 performance improvements in collections and string handling
  • No degradation in parsing performance observed
  • Memory footprint remains consistent

Automated Testing

All 490 existing tests pass (100% green)

image

All projects now target .NET 10.0 instead of .NET 5.0. Updated test project dependencies to latest stable versions, including Microsoft.NET.Test.Sdk, NUnit, NUnit3TestAdapter, and RestSharp.
Refactor all test assertions to use the modern NUnit Assert.That constraint-based syntax (e.g., Is.EqualTo, Is.Not.Null, Throws.TypeOf, etc.) instead of classic Assert methods.

This update improves readability, consistency, and maintainability across all test files, and aligns with current NUnit best practices.

No test logic or intent was changed; this is a stylistic and syntactic update only.
Refactored GitHubHelper to use RestClientOptions and Method.Get with the latest RestSharp API.

Switched to async methods with synchronous waiting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant