Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/core/project-sdk/msbuild-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ The following MSBuild properties are documented in this section:
- [PublishDocumentationFile](#publishdocumentationfile)
- [PublishDocumentationFiles](#publishdocumentationfiles)
- [PublishReferencesDocumentationFiles](#publishreferencesdocumentationfiles)
- [PublishReferencesSymbols](#publishreferencessymbols)
- [PublishRelease](#publishrelease)
- [PublishSelfContained](#publishselfcontained)
- [RollForward](#rollforward)
Expand Down Expand Up @@ -527,6 +528,10 @@ This property is an enablement flag for several other properties that control wh

When this property is `true`, XML documentation files for the project's references are copied to the publish directory, instead of just run-time assets like DLL files. This property defaults to `true`.

### PublishReferencesSymbols

When this property is `true`, symbol files (also known as PDB files) for the project's references are copied to the publish directory. This property defaults to `true`.
Copy link

Copilot AI Dec 2, 2025

Choose a reason for hiding this comment

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

[nitpick] For consistency with the similar property PublishReferencesDocumentationFiles (line 529), consider adding the clarifying phrase "instead of just run-time assets like DLL files" to explain what normally gets copied. The full sentence would read: "When this property is true, symbol files (also known as PDB files) for the project's references are copied to the publish directory, instead of just run-time assets like DLL files."

Suggested change
When this property is `true`, symbol files (also known as PDB files) for the project's references are copied to the publish directory. This property defaults to `true`.
When this property is `true`, symbol files (also known as PDB files) for the project's references are copied to the publish directory, instead of just run-time assets like DLL files. This property defaults to `true`.

Copilot uses AI. Check for mistakes.

### PublishRelease

The `PublishRelease` property informs `dotnet publish` to use the `Release` configuration by default instead of the `Debug` configuration. This property was introduced in .NET 7.
Expand Down
Loading