From ef03549085bccfd5b7f195ad267b00000dd17c4e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 18 Nov 2025 00:36:53 +0000 Subject: [PATCH 1/2] Initial plan From 375ffd8bdd3007e33826df51cc8c779a131c742d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 18 Nov 2025 00:41:57 +0000 Subject: [PATCH 2/2] Add -p option to dotnet publish synopsis and options section Co-authored-by: meaghanlewis <10103121+meaghanlewis@users.noreply.github.com> --- docs/core/tools/dotnet-publish.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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)]