Skip to content

Clean some things up in the publishing article#55003

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

Clean some things up in the publishing article#55003
adegeo wants to merge 7 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

Toggle expand/collapse
📄 File 🔗 Preview link
docs/ai/quickstarts/build-mcp-server.md Create a minimal MCP server using C# and publish to NuGet
docs/architecture/microservices/multi-container-microservice-net-applications/multi-container-applications-docker-compose.md Simplified number of services here:
docs/core/compatibility/sdk/8.0/arch-option.md "Breaking change: Architecture option doesn't imply self-contained"
docs/core/compatibility/sdk/8.0/runtimespecific-app-default.md Runtime-specific apps no longer self-contained
docs/core/deploying/index.md .NET application publishing overview
docs/core/deploying/native-aot/index.md [Windows](https://review.learn.microsoft.com/en-us/dotnet/core/deploying/native-aot/index?branch=pr-en-us-55003)
docs/core/deploying/ready-to-run.md docs/core/deploying/ready-to-run
docs/core/deploying/runtime-store.md Runtime package store
docs/core/deploying/single-file/overview.md Single-file deployment
docs/core/deploying/trimming/trim-self-contained.md Trim self-contained deployments and executables
docs/core/install/macos-notarization-issues.md Working with macOS Catalina Notarization
docs/core/native-interop/expose-components-to-com.md Expose .NET Core components to COM
docs/core/project-sdk/msbuild-props.md docs/core/project-sdk/msbuild-props
docs/core/runtime-discovery/troubleshoot-app-launch.md Troubleshoot app launch failures
docs/core/tools/dotnet-clean.md dotnet clean command
docs/core/tools/dotnet-publish.md dotnet publish
docs/core/tools/sdk-errors/netsdk1071.md NETSDK1071: Explicitly versioned PackageReference to a metapackage that would be included with the framework.
docs/core/tools/troubleshoot-usage-issues.md docs/core/tools/troubleshoot-usage-issues
docs/core/tutorials/publish-console-app.md Tutorial: Publish a .NET console application
docs/core/versions/selection.md Select which .NET version to use
docs/core/whats-new/dotnet-core-2-2.md What's new in .NET Core 2.2
docs/core/whats-new/dotnet-core-3-0.md What's new in .NET Core 3.0
docs/core/whats-new/dotnet-core-3-1.md docs/core/whats-new/dotnet-core-3-1
docs/standard/glossary.md .NET glossary
docs/standard/runtime-libraries-overview.md Runtime libraries overview

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
Comment thread docs/core/deploying/index.md Outdated
Comment thread docs/core/deploying/index.md Outdated
Comment thread docs/core/deploying/index.md

@wadepickett wadepickett 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.

@adegeo, Looks good. Approved assuming current issues are addressed. I noted a couple of additional really minor items you could take or leave.

Co-authored-by: Wade Pickett <wpickett@microsoft.com>
@adegeo
adegeo requested a review from meaghanlewis as a code owner July 23, 2026 19:57
@adegeo adegeo closed this Jul 23, 2026
@adegeo adegeo reopened this Jul 23, 2026
@adegeo
adegeo enabled auto-merge (squash) July 23, 2026 19:59
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

4 participants