Skip to content

Upgrade MoreDateTime to .NET 10#75

Merged
Hefaistos68 merged 2 commits intomainfrom
copilot/upgrade-to-dotnet-10
Feb 27, 2026
Merged

Upgrade MoreDateTime to .NET 10#75
Hefaistos68 merged 2 commits intomainfrom
copilot/upgrade-to-dotnet-10

Conversation

Copy link
Contributor

Copilot AI commented Feb 26, 2026

The library and tooling now target .NET 10, aligning runtime, tests, and CI with the latest SDK.

  • Targets & Dependencies

    • Library and tests retargeted to net10.0.
    • MSTest stack bumped (Microsoft.NET.Test.Sdk/MSTest.*) for .NET 10 compatibility.
  • Build/CI

    • Nuke build project retargeted to net10.0, updated Nuke.Common, and replaced obsolete clean helpers with a simple local implementation.
    • CI and manual workflows now install .NET 10 SDK.
<!-- src/MoreDateTime/MoreDateTime.csproj -->
<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFramework>net10.0</TargetFramework>
  </PropertyGroup>
</Project>
Original prompt

Upgrade to .Net 10,make a plan first


🔒 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.

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
@Hefaistos68 Hefaistos68 marked this pull request as ready for review February 27, 2026 18:02
@Hefaistos68 Hefaistos68 requested a review from Copilot February 27, 2026 18:02
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 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.

@Hefaistos68 Hefaistos68 merged commit fb23f44 into main Feb 27, 2026
5 checks passed
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.

3 participants