diff --git a/docs/core/tools/dotnet-publish.md b/docs/core/tools/dotnet-publish.md index 84ab679fb3b8d..5df4ced9cecd8 100644 --- a/docs/core/tools/dotnet-publish.md +++ b/docs/core/tools/dotnet-publish.md @@ -18,7 +18,7 @@ dotnet publish [|] [-c|--configuration ] [-f|--framework ] [--force] [--interactive] [--manifest ] [--no-build] [--no-dependencies] [--no-restore] [--nologo] [-o|--output ] - [-p:PublishReadyToRun] [-p:PublishSingleFile] [-p:PublishTrimmed] + [-p:PublishReadyToRun=true] [-p:PublishSingleFile=true] [-p:PublishTrimmed=true] [-r|--runtime ] [--self-contained [true|false]] [--no-self-contained] [-v|--verbosity ] [--version-suffix ] @@ -129,13 +129,13 @@ For more information, see the following resources: If a relative path is specified when publishing a solution, each project's output goes into a separate folder relative to the project file location. If an absolute path is specified when publishing a solution, all publish output for all projects goes into the specified folder. -- **`-p:PublishReadyToRun`** +- **`-p:PublishReadyToRun=true`** Compiles application assemblies as ReadyToRun (R2R) format. R2R is a form of ahead-of-time (AOT) compilation. For more information, see [ReadyToRun images](../whats-new/dotnet-core-3-0.md#readytorun-images). Available since .NET Core 3.0 SDK. We recommend that you specify this option in a publish profile rather than on the command line. For more information, see [MSBuild](#msbuild). -- **`-p:PublishSingleFile`** +- **`-p:PublishSingleFile=true`** Packages the app into a platform-specific single-file executable. The executable is self-extracting and contains all dependencies (including native) that are required to run the app. When the app is first run, the application is extracted to a directory based on the app name and build identifier. Startup is faster when the application is run again. The application doesn't need to extract itself a second time unless a new version is used. Available since .NET Core 3.0 SDK. @@ -143,7 +143,7 @@ For more information, see the following resources: We recommend that you specify this option in a publish profile rather than on the command line. For more information, see [MSBuild](#msbuild). -- **`-p:PublishTrimmed`** +- **`-p:PublishTrimmed=true`** Trims unused libraries to reduce the deployment size of an app when publishing a self-contained executable. For more information, see [Trim self-contained deployments and executables](../deploying/trim-self-contained.md). Available since .NET Core 3.0 SDK.