Skip to content

[dotnet-svcutil] roll forward to newer major runtimes - #5973

Open
imcarolwang wants to merge 1 commit into
dotnet:mainfrom
imcarolwang:issue5972
Open

[dotnet-svcutil] roll forward to newer major runtimes#5973
imcarolwang wants to merge 1 commit into
dotnet:mainfrom
imcarolwang:issue5972

Conversation

@imcarolwang

@imcarolwang imcarolwang commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Fixes #5972

Changes

  • Target dotnet-svcutil with a single net8.0 tool asset instead of adding a new asset for each .NET major version.
  • Set RollForward to Major, allowing the tool to run when only a newer major runtime is installed while continuing to prefer .NET 8 when it is available.
  • Simplify the additional package asset paths for the single target framework.
  • Remove the stale net6.0 NamedPipe metadata importer packaging entry; support for that importer target was removed in PR [dotnet-svcutil] .NET 10.0 support #5805.

Major is intentional rather than LatestMajor: LatestMajor would always select the newest installed runtime, even when the targeted .NET 8 runtime is present.

Test coverage follow-up

The bootstrapper <Content> baseline lines are currently excluded from comparison. PR #5052 enables comparison of those lines and adds TFM normalization; after this change is merged, those baselines should be updated there to use DOTNET_VERSION.

Use a single .NET 8 tool asset and the Major roll-forward policy. This keeps .NET 8 preferred when installed while allowing the tool to run when only a newer major runtime is available.

Remove the stale .NET 6 NamedPipe metadata importer packaging entry because that importer target is no longer built.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 0d40edaa-ccfb-4ed6-99c7-e9268ef4ef4b
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.

dotnet-svcutil should use RollForward = LatestMajor

1 participant