Build the pipelines on the .NET 10 SDK - #4
Merged
Conversation
The release workflow fails before it does anything: Error: Failed to install dotnet, exit code: 1. dotnet_install: Error: Could not find `.NET Core SDK` with version = 9.0.0 global.json asks for SDK 9.0.0. That version does not exist and never has — the 9.0 band starts at 9.0.100. It has been harmless up to now because rollForward quietly lands on whatever 9.0.1xx is installed, but actions/setup-dotnet reads the pin literally when it is given a global-json-file, and release.yml gives it one. Rather than correct the pin to a real 9.0 patch, move to 10.0.100 and have both workflows install 10.0.x directly. The .NET 10 SDK compiles net8.0 and net9.0 as well, so one SDK is enough and the 8.0.x and 9.0.x installs come out of every job. The test projects already roll forward to whatever runtime is present, so nothing else has to change. Verified on a machine with only the .NET 10 SDK, with bin/ and obj/ wiped first: restore, build, test and pack --no-build all succeed, and the package still ships tools for net8.0, net9.0 and net10.0.
TarasKovalenko
force-pushed
the
fix/dotnet-10-pipelines
branch
from
August 24, 2026 08:37
5a27c4b to
98331c0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The release workflow fails before it does anything:
global.jsonasks for SDK9.0.0. That version does not exist and never has — the 9.0 band starts at9.0.100.It has been harmless up to now because
rollForwardquietly lands on whatever9.0.1xxhappens to be installed.actions/setup-dotnetreads the pin literally when you give it aglobal-json-file, andrelease.ymlgives it one, so the workflow dies at the setup step.What this does
Rather than correct the pin to a real 9.0 patch, move to
10.0.100and have both workflows install10.0.xdirectly.The .NET 10 SDK compiles
net8.0andnet9.0too, so one SDK is enough and the8.0.x/9.0.xinstalls come out of every job. The test projects already carryRollForward=Major, so theirnet9.0hosts start fine on the .NET 10 runtime and nothing else has to change.Verification
Ran on a machine with only the .NET 10 SDK present (
10.0.301,10.0.400), withbin/andobj/wiped first so nothing was reused:The package still ships
tools/net8.0,tools/net9.0andtools/net10.0.Four files, no source changes.