Repository navigation
Let the tool roll forward to a newer major runtime - #400
Merged
Merged
Conversation
OctoVersion.Tool targets net10.0 with no RollForward, so it uses the default (Minor) and won't start on a machine that has only the .NET 11 runtime. OctopusDeploy's .NET 11 branch works around this by setting DOTNET_ROLL_FORWARD=Major for its whole build. RollForward=Major only applies when .NET 10 is missing, so machines that have .NET 10 keep running the tool on it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
tjnicholas
approved these changes
Nov 10, 2026
matt-richardson
added a commit
that referenced
this pull request
Nov 10, 2026
Resolves the RollForward comment conflict with #400 by keeping main's wording. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Octopus.OctoVersion.Tooltargetsnet10.0and doesn't setRollForward, so its runtimeconfig uses the default (Minor). It won't start on a machine that has only the .NET 11 runtime. The tool fails with exit code 150.OctopusDeploy's .NET 11 branch (OctopusDeploy/OctopusDeploy#48881) hits this on build agents that have only .NET 11. It works around it by setting
DOTNET_ROLL_FORWARD=Majorfor the whole nuke build. Its plan names this change as the preferred fix.RollForward=Majoronly takes effect when .NET 10 isn't installed, so agents that have .NET 10 keep running the tool on .NET 10. I chose it overLatestMajor, which would move every machine with .NET 11 onto it.This doesn't need the .NET 11 SDK. The
net11.0target forOctoVersion.Corestays in the separate draft, #399.🤖 Generated with Claude Code