Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 18, 2025

Summary

The -p|--property option was missing from the synopsis and options section, despite being referenced in the MSBuild description and examples throughout the document.

Changes:

  • Added -p|--property:<PROPERTYNAME>=<VALUE> to synopsis in alphabetical order
  • Added dedicated options entry with description and syntax examples (semicolon-delimited and repeated option formats)
  • Matches dotnet build documentation format

Fixes #45556

Original prompt

This section details on the original issue you should resolve

<issue_title>dotnet publish Synopsis is missing the -p option</issue_title>
<issue_description>### Type of issue

Missing information

Description

The synopsis does not have the -p option that passes properties through to msbuild, but it does talk about that option later including a useful example further down. It could have been a deliberate choice to not be exhaustive with the available options to the dotnet publish command.

https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-publish#synopsis

I think it would be useful to see the -p option in the synopsis and broken out in the options list in its own description.

Page URL

https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-publish

Content source URL

https://github.com/dotnet/docs/blob/main/docs/core/tools/dotnet-publish.md

Document Version Independent Id

9439897e-dcb3-bc2e-5cae-35c1ca2e0681

Platform Id

a71f4ca7-7ced-6cf0-66e9-2e5eaac22732

Article author

@tdykstra

Metadata

  • ID: 211afdc7-c796-202d-239d-823f2a499dff
  • PlatformId: a71f4ca7-7ced-6cf0-66e9-2e5eaac22732
  • Service: dotnet-fundamentals

Related Issues


Associated WorkItem - 503203</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.


Internal previews

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

Co-authored-by: meaghanlewis <10103121+meaghanlewis@users.noreply.github.com>
Copilot AI changed the title [WIP] Add -p option to dotnet publish synopsis Add -p option to dotnet publish synopsis and options Nov 18, 2025
Copilot AI requested a review from meaghanlewis November 18, 2025 00:44
Copilot finished work on behalf of meaghanlewis November 18, 2025 00:44
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.

dotnet publish Synopsis is missing the -p option

2 participants