Skip to content

[release/10.0] Fix HelixTestRunner using the wrong version of dotnet-ef#65688

Merged
wtgodbe merged 4 commits intorelease/10.0from
backport/pr-65676-to-release/10.0
Mar 7, 2026
Merged

[release/10.0] Fix HelixTestRunner using the wrong version of dotnet-ef#65688
wtgodbe merged 4 commits intorelease/10.0from
backport/pr-65676-to-release/10.0

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented Mar 6, 2026

Backport of #65676 to release/10.0

/cc @wtgodbe

Fix HelixTestRunner using the wrong version of dotnet-ef

Summary of the changes (Less than 80 chars)

Description

{Detail}

Fixes #{bug number} (in this specific format)

Customer Impact

{Justification}

Regression?

  • Yes
  • No

[If yes, specify the version the behavior has regressed from]

Risk

  • High
  • Medium
  • Low

[Justify the selection above]

Verification

  • Manual (required)
  • Automated

Packaging changes reviewed?

  • Yes
  • No
  • N/A

When servicing release/2.3

  • Make necessary changes in eng/PatchConfig.props

wtgodbe and others added 4 commits March 6, 2026 22:29
The Microsoft.EntityFrameworkCore.Tools package depends on
Microsoft.EntityFrameworkCore.Design >= 8.0.0 (minimum). NuGet resolves
this transitive dependency to 8.0.0, which is incompatible with the
11.0.0-preview.3 Abstractions assembly (the AbstractionsStrings.ArgumentIsEmpty
method signature changed). This causes MissingMethodException when running
dotnet-ef migrations on template projects.

Fix by adding an explicit PackageReference for Design with the correct
version in the template csproj.in files, so the transitive dependency
from Tools is overridden with a version-matched package.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot requested review from a team and wtgodbe as code owners March 6, 2026 22:29
@wtgodbe
Copy link
Copy Markdown
Member

wtgodbe commented Mar 6, 2026

@github-actions github-actions Bot added the area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates label Mar 6, 2026
@wtgodbe wtgodbe added area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework tell-mode Indicates a PR which is being merged during tell-mode and removed area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates labels Mar 6, 2026
@wtgodbe wtgodbe merged commit 87b477b into release/10.0 Mar 7, 2026
28 checks passed
@wtgodbe wtgodbe deleted the backport/pr-65676-to-release/10.0 branch March 7, 2026 00:30
@dotnet-policy-service dotnet-policy-service Bot added this to the 10.0.5 milestone Mar 7, 2026
@wtgodbe wtgodbe modified the milestones: 10.0.5, 10.0.6 Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework tell-mode Indicates a PR which is being merged during tell-mode

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant