Merged
Conversation
Co-authored-by: Hefaistos68 <8855055+Hefaistos68@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Upgrade project to .Net 10
Upgrade MoreDateTime to .NET 10
Feb 26, 2026
There was a problem hiding this comment.
Pull request overview
This PR upgrades the MoreDateTime library and its tooling from .NET 6.0 to .NET 10.0, ensuring the project uses the latest framework version with updated dependencies and build infrastructure.
Changes:
- Updated target framework from net6.0 to net10.0 across library, tests, and build projects
- Upgraded MSTest packages (Microsoft.NET.Test.Sdk to 17.11.1, MSTest.TestAdapter and MSTest.TestFramework to 3.4.3)
- Updated Nuke.Common from 6.3.0 to 10.1.0 and replaced obsolete FileSystemTasks API with custom CleanDirectory implementation
- Modified GitHub Actions workflows to install and use .NET 10 SDK
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/MoreDateTime/MoreDateTime.csproj | Updated target framework to net10.0 |
| tests/MoreDateTime.Test/MoreDateTime.Tests.csproj | Updated target framework to net10.0 and upgraded MSTest packages |
| build/.build.csproj | Updated target framework from netcoreapp3.0 to net10.0 and upgraded Nuke.Common to 10.1.0 |
| build/Build.cs | Reorganized imports, removed obsolete FileSystemTasks usage, implemented custom CleanDirectory helper, and changed directory properties to AbsolutePath type |
| .github/workflows/dotnet.yml | Updated workflow to install and use .NET 10.0 SDK |
| .github/workflows/manual.yml | Updated workflow to install and use .NET 10.0 SDK |
💡 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.
The library and tooling now target .NET 10, aligning runtime, tests, and CI with the latest SDK.
Targets & Dependencies
net10.0.Build/CI
net10.0, updated Nuke.Common, and replaced obsolete clean helpers with a simple local implementation.Original prompt
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.