Skip to content

fix: update Incrementalist to 1.2.2 for SDK 10.0.4xx compatibility - #8473

Merged
Aaronontheweb merged 1 commit into
devfrom
fix/ci-sdk-feature-band
Aug 25, 2026
Merged

fix: update Incrementalist to 1.2.2 for SDK 10.0.4xx compatibility#8473
Aaronontheweb merged 1 commit into
devfrom
fix/ci-sdk-feature-band

Conversation

@Aaronontheweb

@Aaronontheweb Aaronontheweb commented Aug 25, 2026

Copy link
Copy Markdown
Member

CI is currently red on every PR: the hosted agents began preinstalling .NET SDK 10.0.400, and Incrementalist 1.2.1's bundled MSBuild assemblies cannot evaluate the 10.0.4xx SDK targets. It crashes opening the solution before anything compiles:

InvalidProjectFileException: The expression
"[Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation(Windows, 7.0)"
cannot be evaluated. Could not load type 'DebugTraceInterpolatedStringHandler'
from assembly 'Microsoft.Build.Framework, Version=15.1.0.0'.
/opt/hostedtoolcache/dotnet/sdk/10.0.400/Microsoft.Common.CurrentVersion.targets

First seen on build 130767. The failure is in Incrementalist's solution load, so it hits every job on every branch regardless of content.

Fix: bump the tool manifest to Incrementalist 1.2.2 (released 2026-08-18), which bundles MSBuild 18.9.6 and NuGet.Frameworks 7.9.0 to match the 10.0.4xx band - this exact failure is what that release addresses. Root-cause fix rather than pinning the SDK band, so CI keeps tracking current SDKs.

An earlier revision of this PR pinned global.json to the 10.0.1xx feature band instead; superseded by the tool bump.

Verified locally: dotnet tool restore resolves 1.2.2 and it loads the solution config cleanly. The real validation is this PR's own CI run, which executes 1.2.2 on the 10.0.400 hosted image.

The hosted build agents now preinstall .NET SDK 10.0.400, and
Incrementalist 1.2.1's bundled MSBuild assemblies cannot evaluate the
10.0.4xx SDK targets. Every CI job that runs Incrementalist crashes
opening the solution before anything compiles:

  InvalidProjectFileException: The expression
  "[Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation(Windows, 7.0)"
  cannot be evaluated. Could not load type 'DebugTraceInterpolatedStringHandler'
  from assembly 'Microsoft.Build.Framework, Version=15.1.0.0'.

Incrementalist 1.2.2 (released 2026-08-18) exists for exactly this: it
bundles MSBuild 18.9.6 and NuGet.Frameworks 7.9.0 to match the 10.0.4xx
band. Bumping the tool fixes the root cause and keeps CI tracking
current SDKs, where pinning the SDK band would only mask it.
@Aaronontheweb
Aaronontheweb force-pushed the fix/ci-sdk-feature-band branch from 71fd804 to d3c0a01 Compare August 25, 2026 21:08
@Aaronontheweb Aaronontheweb changed the title fix: keep the SDK on the 10.0.1xx feature band in CI fix: update Incrementalist to 1.2.2 for SDK 10.0.4xx compatibility Aug 25, 2026
@Aaronontheweb
Aaronontheweb enabled auto-merge (squash) August 25, 2026 21:09
@Aaronontheweb
Aaronontheweb disabled auto-merge August 25, 2026 21:23
@Aaronontheweb
Aaronontheweb merged commit 503e7f7 into dev Aug 25, 2026
11 checks passed
@Aaronontheweb
Aaronontheweb deleted the fix/ci-sdk-feature-band branch August 25, 2026 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant