Document PublishRuntimeIdentifier in the .NET SDK MSBuild property reference#53878
Open
Copilot wants to merge 12 commits into
Open
Document PublishRuntimeIdentifier in the .NET SDK MSBuild property reference#53878Copilot wants to merge 12 commits into
PublishRuntimeIdentifier in the .NET SDK MSBuild property reference#53878Copilot wants to merge 12 commits into
Conversation
Agent-Logs-Url: https://github.com/dotnet/docs/sessions/35022049-3a8b-47bd-b7b3-e14da5bc5689 Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dotnet/docs/sessions/35022049-3a8b-47bd-b7b3-e14da5bc5689 Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dotnet/docs/sessions/35022049-3a8b-47bd-b7b3-e14da5bc5689 Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dotnet/docs/sessions/35022049-3a8b-47bd-b7b3-e14da5bc5689 Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dotnet/docs/sessions/35022049-3a8b-47bd-b7b3-e14da5bc5689 Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dotnet/docs/sessions/35022049-3a8b-47bd-b7b3-e14da5bc5689 Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dotnet/docs/sessions/35022049-3a8b-47bd-b7b3-e14da5bc5689 Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dotnet/docs/sessions/35022049-3a8b-47bd-b7b3-e14da5bc5689 Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dotnet/docs/sessions/35022049-3a8b-47bd-b7b3-e14da5bc5689 Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dotnet/docs/sessions/35022049-3a8b-47bd-b7b3-e14da5bc5689 Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dotnet/docs/sessions/35022049-3a8b-47bd-b7b3-e14da5bc5689 Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add documentation for 'PublishRuntimeIdentifier' property
Document May 18, 2026
PublishRuntimeIdentifier in the .NET SDK MSBuild property reference
gewarren
approved these changes
May 18, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the .NET SDK MSBuild property reference to document PublishRuntimeIdentifier as a publish-scoped alternative to RuntimeIdentifier, including a short description of publish-time behavior and a project-file example.
Changes:
- Added
PublishRuntimeIdentifierto the publish-related property index. - Added a new
PublishRuntimeIdentifiersection explaining publish-only behavior, precedence, and the .NET version it was introduced in. - Added an XML example showing how to set
PublishRuntimeIdentifierin a project file.
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.
The MSBuild property reference listed publish-time properties but didn't document
PublishRuntimeIdentifier, a publish-scoped alternative toRuntimeIdentifier. This update adds that missing guidance and clarifies how the property behaves during publish.Docs update
PublishRuntimeIdentifierto the publish-related property index indocs/core/project-sdk/msbuild-props.md.Behavior clarified
PublishRuntimeIdentifiersetsRuntimeIdentifier.RuntimeIdentifierstill takes precedence.Usage example
Internal previews