Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/core/deploying/trimming/trimming-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,10 @@ Several feature areas of the framework libraries come with trimmer directives th

Remove metadata update-specific logic related to hot reload.

- `<MetricsSupport>false</MetricsSupport>`

Removes support for System.Diagnostics.Metrics instrumentation.

- `<StackTraceSupport>false</StackTraceSupport>` (.NET 8+)

Remove support for generating stack traces (for example, <xref:System.Environment.StackTrace?displayProperty=nameWithType>, or <xref:System.Exception.ToString%2A?displayProperty=nameWithType>) by the runtime. The amount of information that will be removed from stack trace strings may depend on other deployment options. This option does not affect stack traces generated by debuggers.
Expand Down