Skip to content

Add .NET 10 support#2188

Merged
jzabroski merged 5 commits into
mainfrom
copilot/support-dotnet-10
Dec 2, 2025
Merged

Add .NET 10 support#2188
jzabroski merged 5 commits into
mainfrom
copilot/support-dotnet-10

Conversation

Copilot AI commented Nov 20, 2025

Copy link
Copy Markdown
Contributor

Adds net10.0 to TargetFrameworks in projects that already target both net8.0 and net9.0.

Changes

  • Added net10.0 to TargetFrameworks in 8 project files:

    • FluentMigrator.DotNet.Cli
    • FluentMigrator.MSBuild
    • FluentMigrator.Runner.SqlServer
    • Sample projects: Example.MSBuild, Example.Migrations, Example.Migrator, Example.TypeMapper
  • Updated Directory.Packages.props with FluentMigratorTfm condition for net10.0

  • Made target framework conditions explicit in FluentMigrator.Example.MSBuild.csproj Choose block (replaced Otherwise clause with explicit net10.0 condition)

  • Updated Azure DevOps pipeline configurations to support .NET 10:

    • azure-pipelines-pullrequests.yml: Added .NET 10.x SDK installation with .NET 9.x and 8.x runtime support
    • azure-pipelines.yml: Updated to use .NET 10.x SDK (instead of 9.x) with .NET 9.x and 8.x runtime support for backward compatibility

All changes follow existing patterns established for net8.0 and net9.0.

[!WARNING]

Original prompt

This section details on the original issue you should resolve

<filter_complete></filter_complete>

<issue_title>Support .NET 10</issue_title>
<issue_description></issue_description>

<agent_instructions>In places where the TargetFrameworks include net8.0 and net9.0, add net10.0.</agent_instructions>

Comments on the Issue (you are @copilot in this section)

@jzabroski Yes, it's coming. Just squaring away some issues with the release pipeline for GitHub Actions.
Original prompt

This section details on the original issue you should resolve

<issue_title>Support .NET 10</issue_title>
<issue_description></issue_description>

<agent_instructions>In places where the TargetFrameworks include net8.0 and net9.0, add net10.0.</agent_instructions>

Comments on the Issue (you are @copilot in this section)

@jzabroski Yes, it's coming. Just squaring away some issues with the release pipeline for 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.

Copilot AI changed the title [WIP] Add support for .NET 10 in target frameworks Add .NET 10 support Nov 20, 2025
Copilot AI requested a review from jzabroski November 20, 2025 23:58
@jzabroski

Copy link
Copy Markdown
Collaborator

@copilot Update the azure pull requests pipeline yaml file to support .net 10 so that we can build this.

Copilot AI commented Nov 21, 2025

Copy link
Copy Markdown
Contributor Author

@copilot Update the azure pull requests pipeline yaml file to support .net 10 so that we can build this.

Updated both Azure pipeline files to support .NET 10:

  • azure-pipelines-pullrequests.yml now installs .NET 10.x SDK along with .NET 9.x and 8.x runtimes
  • azure-pipelines.yml updated to use .NET 10.x SDK (instead of 9.x) and includes .NET 9.x and 8.x runtimes for backward compatibility

Commit: bf0cb74

@github-actions

Copy link
Copy Markdown

Test Results

    2 files  ±0      2 suites  ±0   40s ⏱️ +2s
5 346 tests ±0  5 014 ✅ ±0  332 💤 ±0  0 ❌ ±0 
5 827 runs  ±0  5 231 ✅ ±0  596 💤 ±0  0 ❌ ±0 

Results for commit bf0cb74. ± Comparison against base commit a55dc1a.

@github-actions

Copy link
Copy Markdown

Test Results

    2 files  ±0      2 suites  ±0   40s ⏱️ +2s
5 346 tests ±0  5 014 ✅ ±0  332 💤 ±0  0 ❌ ±0 
5 827 runs  ±0  5 231 ✅ ±0  596 💤 ±0  0 ❌ ±0 

Results for commit bf0cb74. ± Comparison against base commit a55dc1a.

@PhenX

PhenX commented Nov 22, 2025

Copy link
Copy Markdown
Collaborator

Do you think it would be a good idea to centralize all the supported framework TFMs in a single file ?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Can't it be simplified to this ?

<FluentMigratorTfm Condition="'$(MSBuildRuntimeType)' == 'Core'>$(TargetFramework)</FluentMigratorTfm>
<FluentMigratorTfm Condition="'$(MSBuildRuntimeType)' == 'Full'">net48</FluentMigratorTfm>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@PhenX I didn't follow how?

<MigrationAssembly>$(MSBuildThisFileDirectory)..\FluentMigrator.Example.Migrations\bin\$(Configuration)\netstandard2.0\FluentMigrator.Example.Migrations.dll</MigrationAssembly>
</PropertyGroup>
</When>
<When Condition="'$(TargetFramework)' == 'net8.0' ">

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Here too, I think a single Otherwise would be enough

@p3root

p3root commented Nov 25, 2025

Copy link
Copy Markdown

any updates on this? looks like more of less done to me?

@mtomorowicz

Copy link
Copy Markdown

do we have an ETA for this to be merged guys ? we love FM and use it heavily across number of projects, right now the FM CLI that we use to generate migration scripts is the only blocker for our .net 10 migration...

@jzabroski
jzabroski marked this pull request as ready for review December 2, 2025 02:28
@jzabroski
jzabroski merged commit 76f8106 into main Dec 2, 2025
6 checks passed
@jzabroski jzabroski added this to the 8.0.0 milestone Dec 2, 2025
@tsimbalar

Copy link
Copy Markdown

Hello,
is there a rough ETA for the release of a version supporting .NET 10 ?
(right now we are kind of blocked by the fact that the dot net tool does not work with .NET 10)

Thanks in advance 🙏

@jzabroski

Copy link
Copy Markdown
Collaborator

Sorry for the delay - life got pretty busy. I will release it tonight. @PhenX some features you are working on will have to go in 8.1.

@jzabroski
jzabroski deleted the copilot/support-dotnet-10 branch January 13, 2026 19:06
@PhenX

PhenX commented Jan 13, 2026

Copy link
Copy Markdown
Collaborator

@jzabroski oh, no security labels?

@jzabroski

Copy link
Copy Markdown
Collaborator

I wanted to add it but I also acknowledge I have been tardy releasing .NET 10 support for no real good reason at all other than not clicking Generate Release Notes.

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.

Support .NET 10

6 participants