CONFIGURATION

PublishTrimmed

Enables trimming in supported deployment modes.

Formal Syntax & Structure

csharp syntaxcsharp
<PublishTrimmed>true</PublishTrimmed>

Working Example

Example Snippetcsharp
// Documentary fragment; see mapped lesson for context.<PublishTrimmed>true</PublishTrimmed>
C# & .NET Reference