Skip to content

Explain -UseNuGetOrg in build documentation#26507

Merged
daxian-dbw merged 1 commit into
PowerShell:masterfrom
logiclrd:build-documentation-clarification
Nov 21, 2025
Merged

Explain -UseNuGetOrg in build documentation#26507
daxian-dbw merged 1 commit into
PowerShell:masterfrom
logiclrd:build-documentation-clarification

Conversation

@logiclrd

@logiclrd logiclrd commented Nov 21, 2025

Copy link
Copy Markdown
Contributor

PR Summary

Add a brief explanation of the -UseNuGetOrg switch shown in Start-PSBuild invocations in build documentation.

PR Context

The documentation for building PowerShell demonstrates the use of Start-PSBuild and includes the -UseNuGetOrg flag 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 ran Start-PSBuild without 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 -UseNuGetOrg is important (and that they almost certainly need it).

PR Checklist

…iefly explain why the `-UseNuGetOrg` flag might be needed.
@iSazonov iSazonov added the CL-Docs Indicates that a PR should be marked as a documentation change in the Change Log label Nov 21, 2025

@daxian-dbw daxian-dbw left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@daxian-dbw daxian-dbw merged commit e2075af into PowerShell:master Nov 21, 2025
37 of 38 checks passed
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-Docs Indicates that a PR should be marked as a documentation change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants