Skip to content

Clean some things up in the publishing article#55003

Open
adegeo wants to merge 2 commits into
mainfrom
adegeo/47080/deploy
Open

Clean some things up in the publishing article#55003
adegeo wants to merge 2 commits into
mainfrom
adegeo/47080/deploy

Conversation

@adegeo

@adegeo adegeo commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Summary

Related to the issue, I had already performed quite a large face lift on this content, merging articles together and covering the 3 tools, VS, VSCode, CLI. I instead focused on some section naming, calling out a trap people might find themselves in, and removing the pivots related to the CLI cheat sheet.

Fixes #47080


Internal previews

📄 File 🔗 Preview link
docs/core/deploying/index.md docs/core/deploying/index

Copilot AI review requested due to automatic review settings July 22, 2026 23:59
@adegeo
adegeo requested a review from a team as a code owner July 22, 2026 23:59
@dotnetrepoman dotnetrepoman Bot added this to the July 2026 milestone Jul 22, 2026
@adegeo adegeo changed the title Clean some things up Clean some things up in the publishing article Jul 22, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR refines the .NET application publishing overview article by adjusting section naming, adding guidance to avoid common CLI publishing pitfalls, and simplifying/removing some pivoted content.

Changes:

  • Add an IMPORTANT note warning about mixing build and publish options when using dotnet publish --no-build.
  • Rename several publishing mode section headings to the “Publish as …” format.
  • Adjust the “Quick reference” section text and pivot structure.
Comments suppressed due to low confidence (4)

docs/core/deploying/index.md:249

  • Renaming this heading changes its autogenerated anchor. Other docs deep-link into this page using #self-contained-deployment, so those links will break unless you keep the old anchor ID.
## Publish as self-contained

docs/core/deploying/index.md:298

  • Renaming this heading changes its autogenerated anchor. The Quick reference table links to #single-file-deployment, so it will break unless you keep the old anchor ID (or update all references).
## Publish as single-file

docs/core/deploying/index.md:351

  • Renaming this heading changes its autogenerated anchor. The Quick reference table links to #native-aot-deployment, so it will break unless you keep the old anchor ID (or update all references).
## Publish as native AOT

docs/core/deploying/index.md:413

  • Renaming this heading changes its autogenerated anchor. The Quick reference table (and any external deep links) still use #readytorun-deployment, so those links will break unless you keep the old anchor ID.
## Publish as ReadyToRun

Comment thread docs/core/deploying/index.md Outdated
Comment thread docs/core/deploying/index.md
Comment thread docs/core/deploying/index.md
| [Container deployment](#container-deployment) | `dotnet publish -c Release [-r <RID>] -t:PublishContainer` |

::: zone-end
<a id="framework-dependent-deployment"></a>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Why are you adding bookmarks manually?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deploy with VS needs a major rewrite

3 participants