Skip to content

Commit c699f54

Browse files
authored
Add trim incompatibility to TOC (#26717)
1 parent 7d1339b commit c699f54

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/core/deploying/trimming/trim-self-contained.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ However, there is a risk that the build time analysis of the application can cau
1818
1919
## Components that cause trimming problems
2020

21-
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).
21+
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).
2222

2323
## Enabling trimming
2424

docs/fundamentals/toc.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1521,7 +1521,7 @@ items:
15211521
- name: Suppress compatibility errors
15221522
href: ../compatibility/compatibility-suppressions.md
15231523
- name: Package validation diagnostic IDs
1524-
href: ../compatibility/diagnostic-ids.md
1524+
href: ../compatibility/diagnostic-ids.md
15251525
- name: Execution model
15261526
items:
15271527
- name: Common Language Runtime (CLR)
@@ -1601,6 +1601,8 @@ items:
16011601
href: ../core/deploying/trimming/trim-self-contained.md
16021602
- name: Intro to trim warnings
16031603
href: ../core/deploying/trimming/fixing-warnings.md
1604+
- name: Trim incompatibilities
1605+
href: ../core/deploying/trimming/incompatibilities.md
16041606
- name: Options
16051607
href: ../core/deploying/trimming/trimming-options.md
16061608
- name: Trimming libraries

0 commit comments

Comments
 (0)