Skip to content

build: bump NuGet.Packaging to 7.9.0 to unbreak the NUKE build on SDK 10.0.400 - #175

Open
DenDeline wants to merge 1 commit into
elsa-workflows:mainfrom
DenDeline:bugfix/nuke-sdk-10-0-400
Open

build: bump NuGet.Packaging to 7.9.0 to unbreak the NUKE build on SDK 10.0.400#175
DenDeline wants to merge 1 commit into
elsa-workflows:mainfrom
DenDeline:bugfix/nuke-sdk-10-0-400

Conversation

@DenDeline

Copy link
Copy Markdown

Problem

NUKE project evaluation fails on .NET SDK 10.0.400 before tests run:

InvalidProjectFileException: The expression
"[MSBuild]::GetTargetFrameworkIdentifier(net10.0)" cannot be evaluated.
Could not load file or assembly 'NuGet.Frameworks, Version=7.9.0.0'.
The located assembly's manifest definition does not match the assembly reference.

Cause

The NUKE project pins NuGet.Packaging 7.0.3, which brings an app-local NuGet.Frameworks 7.0.3 into the build output. SDK 10.0.400 MSBuild requires NuGet.Frameworks 7.9.0.0, so the older app-local assembly shadows the SDK copy and fails assembly binding.

Expected behavior

NUKE should evaluate net10.0 projects and execute build targets under SDK 10.0.400.

Change

Bump NuGet.Packaging to 7.9.0 so the NuGet assembly family is compatible with the current SDK. No workflow, product, or API changes are included.

Verification

  • ./build.sh --help succeeds locally on .NET SDK 10.0.302 with zero build errors.
  • Restore resolves both NuGet.Packaging and NuGet.Frameworks to 7.9.0.
  • The PR workflow includes 10.x and will validate the current SDK band.

Related

Mirrors elsa-workflows/elsa-core#7919, which fixed the same SDK 10.0.400 failure in Elsa Core.

@DenDeline
DenDeline marked this pull request as ready for review August 20, 2026 05:57
@greptile-apps

greptile-apps Bot commented Aug 20, 2026

Copy link
Copy Markdown

PR author is not in the allowed authors list.

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.

1 participant