[release/v7.4.18] Avoid calling credential provider for public feed for Wix#27664
Merged
SeeminglyScience merged 1 commit intoJul 8, 2026
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR backports a packaging reliability fix to the release/v7.4.18 branch by configuring the dotnet-eng PSResourceGet repository to avoid invoking any credential provider when the feed is public (Wix packaging scenario).
Changes:
- After registering the
dotnet-engrepository, explicitly set-CredentialProvider NoneviaSet-PSResourceRepositoryto prevent credential provider prompts for the public feed.
adityapatwardhan
approved these changes
Jul 7, 2026
SeeminglyScience
enabled auto-merge (squash)
July 7, 2026 23:50
SeeminglyScience
merged commit Jul 8, 2026
695d7e5
into
PowerShell:release/v7.4.18
50 of 52 checks passed
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.
Backport of #27663 to release/v7.4.18
Triggered by @SeeminglyScience on behalf of @adityapatwardhan
Original CL Label: CL-BuildPackaging
/cc @PowerShell/powershell-maintainers
Impact
REQUIRED: Choose either Tooling Impact or Customer Impact (or both). At least one checkbox must be selected.
Tooling Impact
This backport updates the Wix packaging helper so the public dotnet-eng feed is marked with CredentialProvider None on release/v7.4.18, preventing unnecessary credential provider prompts during packaging.
Customer Impact
Regression
REQUIRED: Check exactly one box.
This is not a regression.
Testing
Validated the cherry-pick on release/v7.4.18 and ran PowerShell syntax validation on tools/wix/wix.psm1. The backport is limited to the single Wix helper change from the original PR.
Risk
REQUIRED: Check exactly one box.
The change is narrowly scoped to a single repository registration path in tools/wix/wix.psm1 and only adjusts how the public feed is configured. It does not alter build logic outside that path.