Document dotnet pack nuspec, --version, and file-based app support (.NET 10 SDK)#52846
Open
Document dotnet pack nuspec, --version, and file-based app support (.NET 10 SDK)#52846
Conversation
Agent-Logs-Url: https://github.com/dotnet/docs/sessions/04b852c8-a247-4930-acf8-cea13eef675f Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Document dotnet pack nuspec support
Document dotnet pack nuspec and --version support (.NET 10 SDK)
Apr 2, 2026
gewarren
reviewed
Apr 3, 2026
Contributor
|
@copilot Please respond to the two comments. |
Agent-Logs-Url: https://github.com/dotnet/docs/sessions/72eac0d2-818b-4886-98b1-3cafa43167df Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
Updated references to .NET 10 SDK for clarity.
gewarren
approved these changes
Apr 3, 2026
Contributor
There was a problem hiding this comment.
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
.nuspecfile path directly. - Documents new/updated options:
--versionand-p|--propertybehavior for direct.nuspecpacking. - Adds new examples demonstrating direct
.nuspecpacking scenarios in .NET 10+.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
akoeplinger
reviewed
Apr 3, 2026
BillWagner
approved these changes
Apr 3, 2026
Member
BillWagner
left a comment
There was a problem hiding this comment.
This LGTM. You can
once you resolve the one remaining conversation
nkolev92
approved these changes
Apr 3, 2026
Agent-Logs-Url: https://github.com/dotnet/docs/sessions/d8f4d73c-44bb-45b5-af7f-45b02d405fc0 Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
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
gewarren
approved these changes
Apr 3, 2026
akoeplinger
approved these changes
Apr 4, 2026
akoeplinger
reviewed
Apr 4, 2026
Agent-Logs-Url: https://github.com/dotnet/docs/sessions/4379e7d9-234b-40fe-938e-3eb6cc778d8a Co-authored-by: akoeplinger <1376924+akoeplinger@users.noreply.github.com>
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.
[<PROJECT>|<SOLUTION>|<NUSPEC>|<FILE>][-p|--property:<PROPERTYNAME>=<VALUE>]to Synopsis.nuspecand file-based app support (.NET 10+)-p|--propertyoption in Options section--versionoption in Options section.nuspecpacking,--version, and token replacement via--property../../csharp/...not../../../csharp/...)Internal previews