Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 13, 2026

Upgrades the library to support .NET 10 while maintaining backward compatibility with .NET 9 through multitargeting.

Changes

  • Library: Changed TargetFramework to TargetFrameworks with net9.0;net10.0, using conditional ItemGroup elements for framework-specific package versions
  • Samples: Upgraded both With and Without projects to net10.0 with updated package references
  • CI/CD: Updated all GitHub Actions workflows (CI, Release, PreRelease) to use dotnet-version: 10.0.x and bumped actions/checkout and actions/setup-dotnet from v4 to v5

The NuGet package will now contain assemblies for both target frameworks, allowing consumers to use either .NET 9 or .NET 10.

> [!WARNING]
>
>

Original prompt

Upgrade to add net10 support. Multitarget for net9. Update github actions.


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

Co-authored-by: johnkors <206726+johnkors@users.noreply.github.com>
Copilot AI changed the title [WIP] Add net10 support and multitarget for net9 Add .NET 10 support with .NET 9 multitargeting Jan 13, 2026
Copilot AI requested a review from johnkors January 13, 2026 07:20
Copy link
Owner

@johnkors johnkors left a comment

Choose a reason for hiding this comment

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

Bump gh actions checkout and setup-dotnet to v5 or latest

Co-authored-by: johnkors <206726+johnkors@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Jan 13, 2026

Bump gh actions checkout and setup-dotnet to v5 or latest

Updated all workflows to use v5 in commit decda87:

  • actions/checkout@v5
  • actions/setup-dotnet@v5

Copilot AI requested a review from johnkors January 13, 2026 09:00
@johnkors johnkors marked this pull request as ready for review January 13, 2026 11:02
@johnkors johnkors merged commit 372f7a6 into main Jan 13, 2026
2 checks passed
@johnkors johnkors deleted the copilot/add-net10-support branch January 13, 2026 11:06
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