diff --git a/docs/core/tools/dotnet-publish.md b/docs/core/tools/dotnet-publish.md index db8c698266bf3..372dbd3bd6b7f 100644 --- a/docs/core/tools/dotnet-publish.md +++ b/docs/core/tools/dotnet-publish.md @@ -20,7 +20,8 @@ dotnet publish [||] [-a|--arch ] [-f|--framework ] [--force] [--interactive] [--manifest ] [--no-build] [--no-dependencies] [--no-restore] [--nologo] [-o|--output ] - [--os ] [-r|--runtime ] + [--os ] [-p|--property:=] + [-r|--runtime ] [--sc|--self-contained] [--no-self-contained] [-s|--source ] [--tl:[auto|on|off]] [--ucr|--use-current-runtime] @@ -180,6 +181,15 @@ For more information, see the following resources: [!INCLUDE [os](../../../includes/cli-os.md)] +- **`-p|--property:=`** + + Sets one or more MSBuild properties. Specify multiple properties delimited by semicolons or by repeating the option: + + ```dotnetcli + --property:=;= + --property:= --property:= + ``` + [!INCLUDE [self-contained](../../../includes/cli-self-contained.md)] [!INCLUDE [no-self-contained](../../../includes/cli-no-self-contained.md)]