Explain -UseNuGetOrg in build documentation#26507
Merged
daxian-dbw merged 1 commit intoNov 21, 2025
Merged
Conversation
…iefly explain why the `-UseNuGetOrg` flag might be needed.
iSazonov
approved these changes
Nov 21, 2025
SIRMARGIN
pushed a commit
to SIRMARGIN/PowerShell
that referenced
this pull request
Dec 12, 2025
kilasuit
pushed a commit
to kilasuit/PowerShell
that referenced
this pull request
Jan 2, 2026
JustinGrote
pushed a commit
to JustinGrote/PowerShell
that referenced
this pull request
Jun 2, 2026
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.
PR Summary
Add a brief explanation of the
-UseNuGetOrgswitch shown inStart-PSBuildinvocations in build documentation.PR Context
The documentation for building PowerShell demonstrates the use of
Start-PSBuildand includes the-UseNuGetOrgflag in each example. But, it doesn't explain the importance of this flag. If you don't already know what's going on, it's not obvious why it's needed. As a result, I carelessly ranStart-PSBuildwithout it, only to encounter errors because I'm not authenticated with Azure DevOps to access the private Azure Artifacts feed.This PR adds an additional line specifically for people going through the process for the first time so that they know from the outset why
-UseNuGetOrgis important (and that they almost certainly need it).PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright header