Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 12, 2025

Prepares the repository for .NET 10.0 by removing net6.0 target framework moniker from all projects and adding net10.0 where appropriate.

Changes

Project Target Frameworks:

  • Parlot.csproj: net472;netstandard2.0;net6.0;net8.0net472;netstandard2.0;net8.0;net10.0
  • Samples.csproj: net6.0;net8.0net8.0 (targets net8.0 for compatibility with test projects)
  • Parlot.Tests.csproj: net6.0;net8.0;net9.0net8.0;net9.0;net10.0
  • Parlot.Benchmarks.csproj: net9.0net10.0

Package Conditions:

  • Updated System.Memory condition from net6.0 baseline to net8.0
  • Updated Parlot.Benchmarks conditional reference from net9.0 to net10.0

Build Infrastructure:

  • global.json: SDK version 9.0.10010.0.100
  • CI workflows: Replace 6.0.x with 10.0.x in build and publish pipelines

The changes maintain backward compatibility for .NET Framework 4.7.2 and .NET Standard 2.0 while positioning the library for .NET 10.0 adoption.

Original prompt

Remove the net6.0 tfm from all projects and add net10.0 when multitargetting. Sample applications should use net10.0 only. Update CI tests and global.json.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Remove net6.0 TFM and add net10.0 for multitargeting Remove net6.0 TFM and add net10.0 across all projects Nov 12, 2025
Copilot AI requested a review from sebastienros November 12, 2025 12:48
@sebastienros
Copy link
Owner

@copilot Project Samples should target net8.0 to be compatible the the tests

Copy link
Contributor Author

Copilot AI commented Nov 12, 2025

@copilot Project Samples should target net8.0 to be compatible the the tests

Changed Samples.csproj to target net8.0 in commit 63ce3c8.

@sebastienros sebastienros marked this pull request as ready for review November 12, 2025 13:14
@sebastienros sebastienros merged commit e025b09 into main Nov 12, 2025
1 check passed
@sebastienros sebastienros deleted the copilot/remove-net6-tfm-add-net10 branch November 12, 2025 15:14
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.

2 participants