diff --git a/docs/core/deploying/trimming/trimming-options.md b/docs/core/deploying/trimming/trimming-options.md index 687ddd0da4692..cb2bbc4f4197a 100644 --- a/docs/core/deploying/trimming/trimming-options.md +++ b/docs/core/deploying/trimming/trimming-options.md @@ -3,7 +3,7 @@ title: Trimming options description: Learn how to control trimming of self-contained apps. author: sbomer ms.author: svbomer -ms.date: 08/10/2023 +ms.date: 06/26/2024 ms.topic: reference zone_pivot_groups: dotnet-version --- @@ -45,13 +45,13 @@ This setting also enables the trim-compatibility [Roslyn analyzer](#roslyn-analy Use the `TrimMode` property to set the trimming granularity to either `partial` or `full`. The default setting for console apps (and, starting in .NET 8, Web SDK apps) is `full`: -```csharp +```xml full ``` To only trim assemblies that have opted-in to trimming, set the property to `partial`: -```csharp +```xml partial ```