From 36b78a203496a9b7f7bc3c3e47e443a4e8c76fb2 Mon Sep 17 00:00:00 2001 From: David Britch Date: Fri, 20 Dec 2024 09:21:22 +0000 Subject: [PATCH 1/3] Edit. --- docs/deployment/trimming.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/deployment/trimming.md b/docs/deployment/trimming.md index 3a1fa7ac3..f2d0bd86e 100644 --- a/docs/deployment/trimming.md +++ b/docs/deployment/trimming.md @@ -38,7 +38,7 @@ This is equivalent to setting `[AssemblyMetadata("IsTrimmable", "True")]` when b Full trimming shouldn't be conditioned by build configuration. This is because features switches are enabled or disabled based on the value of the `$(TrimMode)` build property, and the same features should be enabled or disabled in all build configurations so that your code behaves identically. > [!NOTE] -> In a .NET MAUI app, it's not necessary to set the `$(PublishTrimmed)` build property to `true` in your app's project file, because this is set by default. +> Don't set the `$(PublishTrimmed)` build property to `true` in your app's project file, because this is set by default. For more trimming options, see [Trimming options](/dotnet/core/deploying/trimming/trimming-options). From ad929b6dbfc7a2d402f40aa889090df9ce5baa6e Mon Sep 17 00:00:00 2001 From: David Britch Date: Fri, 20 Dec 2024 09:24:35 +0000 Subject: [PATCH 2/3] Edit. --- docs/deployment/trimming.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/deployment/trimming.md b/docs/deployment/trimming.md index f2d0bd86e..ea0c31158 100644 --- a/docs/deployment/trimming.md +++ b/docs/deployment/trimming.md @@ -38,7 +38,7 @@ This is equivalent to setting `[AssemblyMetadata("IsTrimmable", "True")]` when b Full trimming shouldn't be conditioned by build configuration. This is because features switches are enabled or disabled based on the value of the `$(TrimMode)` build property, and the same features should be enabled or disabled in all build configurations so that your code behaves identically. > [!NOTE] -> Don't set the `$(PublishTrimmed)` build property to `true` in your app's project file, because this is set by default. +> Don't set the `$(PublishTrimmed)` build property to `true` in your app's project file, because this is set by default when required. For more trimming options, see [Trimming options](/dotnet/core/deploying/trimming/trimming-options). From 89027eb8021ca242483c80245498a2da88d3e3ec Mon Sep 17 00:00:00 2001 From: David Britch Date: Fri, 20 Dec 2024 09:26:16 +0000 Subject: [PATCH 3/3] Edit. --- docs/deployment/trimming.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/deployment/trimming.md b/docs/deployment/trimming.md index ea0c31158..f50b09524 100644 --- a/docs/deployment/trimming.md +++ b/docs/deployment/trimming.md @@ -38,7 +38,7 @@ This is equivalent to setting `[AssemblyMetadata("IsTrimmable", "True")]` when b Full trimming shouldn't be conditioned by build configuration. This is because features switches are enabled or disabled based on the value of the `$(TrimMode)` build property, and the same features should be enabled or disabled in all build configurations so that your code behaves identically. > [!NOTE] -> Don't set the `$(PublishTrimmed)` build property to `true` in your app's project file, because this is set by default when required. +> Don't set the `$(PublishTrimmed)` build property in your app's project file, because this is set by default when required. For more trimming options, see [Trimming options](/dotnet/core/deploying/trimming/trimming-options).