Skip to content

Document dotnet pack nuspec, --version, and file-based app support (.NET 10 SDK)#52846

Open
Copilot wants to merge 8 commits intomainfrom
copilot/document-dotnet-pack-nuspec
Open

Document dotnet pack nuspec, --version, and file-based app support (.NET 10 SDK)#52846
Copilot wants to merge 8 commits intomainfrom
copilot/document-dotnet-pack-nuspec

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 2, 2026

  • Update Synopsis to [<PROJECT>|<SOLUTION>|<NUSPEC>|<FILE>]
  • Add [-p|--property:<PROPERTYNAME>=<VALUE>] to Synopsis
  • Update Description to mention both direct .nuspec and file-based app support (.NET 10+)
  • Expand Arguments section to document all four types: PROJECT, SOLUTION, NUSPEC, FILE
  • Add -p|--property option in Options section
  • Add --version option in Options section
  • Updated existing nuspec example label to clarify MSBuild project-based approach
  • Add examples for direct .nuspec packing, --version, and token replacement via --property
  • Fix broken relative link to file-based apps tutorial (../../csharp/... not ../../../csharp/...)

Internal previews

📄 File 🔗 Preview link
docs/core/tools/dotnet-pack.md docs/core/tools/dotnet-pack

Copilot AI linked an issue Apr 2, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Document dotnet pack nuspec support Document dotnet pack nuspec and --version support (.NET 10 SDK) Apr 2, 2026
Copilot AI requested a review from gewarren April 2, 2026 18:25
@gewarren
Copy link
Copy Markdown
Contributor

gewarren commented Apr 3, 2026

@copilot Please respond to the two comments.

Copilot AI requested a review from gewarren April 3, 2026 01:02
Updated references to .NET 10 SDK for clarity.
@gewarren gewarren marked this pull request as ready for review April 3, 2026 01:16
@gewarren gewarren requested review from a team and meaghanlewis as code owners April 3, 2026 01:16
Copilot AI review requested due to automatic review settings April 3, 2026 01:16
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the dotnet pack documentation to cover new .NET 10 SDK capabilities, including packing directly from a .nuspec file, setting the package version via a new CLI option, and using -p|--property for MSBuild properties or .nuspec token replacement.

Changes:

  • Expands the synopsis and arguments to accept a .nuspec file path directly.
  • Documents new/updated options: --version and -p|--property behavior for direct .nuspec packing.
  • Adds new examples demonstrating direct .nuspec packing scenarios in .NET 10+.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@gewarren gewarren requested a review from nkolev92 April 3, 2026 01:22
Copy link
Copy Markdown
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

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

This LGTM. You can :shipit: once you resolve the one remaining conversation

Copilot AI changed the title Document dotnet pack nuspec and --version support (.NET 10 SDK) Document dotnet pack nuspec, --version, and file-based app support (.NET 10 SDK) Apr 3, 2026
Copilot AI requested a review from gewarren April 3, 2026 18:02
Copilot AI requested a review from akoeplinger April 4, 2026 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document dotnet pack nuspec

6 participants