From 2a2f6a9c241ec8c29248719a86ed4df46b82eabe Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Thu, 28 Oct 2021 13:32:28 -0700 Subject: [PATCH] Add trim incompatibility to TOC --- docs/core/deploying/trimming/trim-self-contained.md | 2 +- docs/fundamentals/toc.yml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/core/deploying/trimming/trim-self-contained.md b/docs/core/deploying/trimming/trim-self-contained.md index 241e90ead172f..9f65935de8d1e 100644 --- a/docs/core/deploying/trimming/trim-self-contained.md +++ b/docs/core/deploying/trimming/trim-self-contained.md @@ -18,7 +18,7 @@ However, there is a risk that the build time analysis of the application can cau ## Components that cause trimming problems -Any code that causes build time analysis challenges, isn't suitable for trimming. Some common coding patterns that are problematic when used by an application originate from unbounded reflection usage and external dependencies that aren't visible at build time. An example of unbounded reflection is a legacy serializer, such as [XML serialization](../../../standard/serialization/introducing-xml-serialization.md) and an example of invisible external dependencies is [built-in COM](../../../standard/native-interop/cominterop.md). For known incompatibilities, see [Known trimming incompatibilies](incompatibilities.md). To address trim warnings in your application, see [Introduction to trim warnings](fixing-warnings.md), and to make your library compatible with trimming, see[Prepare .NET libraries for trimming](prepare-libraries-for-trimming.md). +Any code that causes build time analysis challenges, isn't suitable for trimming. Some common coding patterns that are problematic when used by an application originate from unbounded reflection usage and external dependencies that aren't visible at build time. An example of unbounded reflection is a legacy serializer, such as [XML serialization](../../../standard/serialization/introducing-xml-serialization.md) and an example of invisible external dependencies is [built-in COM](../../../standard/native-interop/cominterop.md). For known incompatibilities, see [Known trimming incompatibilies](incompatibilities.md). To address trim warnings in your application, see [Introduction to trim warnings](fixing-warnings.md), and to make your library compatible with trimming, see [Prepare .NET libraries for trimming](prepare-libraries-for-trimming.md). ## Enabling trimming diff --git a/docs/fundamentals/toc.yml b/docs/fundamentals/toc.yml index 74010cecce224..89dabb8cbf354 100644 --- a/docs/fundamentals/toc.yml +++ b/docs/fundamentals/toc.yml @@ -1521,7 +1521,7 @@ items: - name: Suppress compatibility errors href: ../compatibility/compatibility-suppressions.md - name: Package validation diagnostic IDs - href: ../compatibility/diagnostic-ids.md + href: ../compatibility/diagnostic-ids.md - name: Execution model items: - name: Common Language Runtime (CLR) @@ -1601,6 +1601,8 @@ items: href: ../core/deploying/trimming/trim-self-contained.md - name: Intro to trim warnings href: ../core/deploying/trimming/fixing-warnings.md + - name: Trim incompatibilities + href: ../core/deploying/trimming/incompatibilities.md - name: Options href: ../core/deploying/trimming/trimming-options.md - name: Trimming libraries