[dotnet-svcutil] roll forward to newer major runtimes - #5973
Open
imcarolwang wants to merge 1 commit into
Open
Conversation
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
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.
Fixes #5972
Changes
dotnet-svcutilwith a singlenet8.0tool asset instead of adding a new asset for each .NET major version.RollForwardtoMajor, allowing the tool to run when only a newer major runtime is installed while continuing to prefer .NET 8 when it is available.net6.0NamedPipe metadata importer packaging entry; support for that importer target was removed in PR [dotnet-svcutil] .NET 10.0 support #5805.Majoris intentional rather thanLatestMajor:LatestMajorwould 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 useDOTNET_VERSION.