Skip to content

Commit 15a63d4

Browse files
Monthly chores: Delete orphaned articles (#50863)
1 parent 3fc116c commit 15a63d4

File tree

5 files changed

+13
-6
lines changed

5 files changed

+13
-6
lines changed

docs/core/deploying/native-aot/warnings/il3058.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,16 @@ public class Program
4141
}
4242
```
4343

44-
```
44+
```output
4545
warning IL3058: Referenced assembly 'MyLibrary' is not built with `<IsAotCompatible>true</IsAotCompatible>` and may not be compatible with AOT.
4646
```
4747

4848
## How to fix violations
4949

5050
You have several options to fix this warning:
5151

52-
- **Update the referenced library** to be built with `<IsAotCompatible>true</IsAotCompatible>`. This is the preferred approach if you control the library source code. The `IsAotCompatible` property marks the assembly as compatible with Native AOT and enables AOT-specific analysis.
53-
- **Disable the verification** by setting `<VerifyReferenceAotCompatibility>false</VerifyReferenceAotCompatibility>` in your project file if you're confident that the library works correctly with Native AOT even without the attribute.
52+
- If you control the library source code, **update the referenced library** to be built with `<IsAotCompatible>true</IsAotCompatible>`. The `IsAotCompatible` property marks the assembly as compatible with Native AOT and enables AOT-specific analysis. This is the preferred approach.
53+
- If you're confident that the library works correctly with Native AOT even without the attribute, **disable the verification** by setting `<VerifyReferenceAotCompatibility>false</VerifyReferenceAotCompatibility>` in your project file.
5454

5555
## See also
5656

docs/core/deploying/trimming/trim-warnings/il2125.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,16 @@ public class Program
4141
}
4242
```
4343

44-
```
44+
```output
4545
warning IL2125: Referenced assembly 'MyLibrary' is not built with `<IsTrimmable>true</IsTrimmable>` and may not be compatible with trimming.
4646
```
4747

4848
## How to fix violations
4949

5050
You have several options to fix this warning:
5151

52-
- **Update the referenced library** to be built with `<IsTrimmable>true</IsTrimmable>`. This is the preferred approach if you control the library source code. For guidance on making libraries trim-compatible, see [Prepare .NET libraries for trimming](../prepare-libraries-for-trimming.md).
53-
- **Disable the verification** by setting `<VerifyReferenceTrimCompatibility>false</VerifyReferenceTrimCompatibility>` in your project file if you're confident that the library works correctly with trimming even without the attribute.
52+
- If you control the library source code, **update the referenced library** to be built with `<IsTrimmable>true</IsTrimmable>`. For guidance on making libraries trim-compatible, see [Prepare .NET libraries for trimming](../prepare-libraries-for-trimming.md). This is the preferred approach.
53+
- If you're confident that the library works correctly with trimming even without the attribute, **disable the verification** by setting `<VerifyReferenceTrimCompatibility>false</VerifyReferenceTrimCompatibility>` in your project file.
5454

5555
## See also
5656

docs/fundamentals/syslib-diagnostics/obsoletions-overview.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ The following table lists the `EXTOBS0XXX` obsoletions from the `Microsoft.Exten
9595
| Diagnostic ID | Warning or error | Description |
9696
|---------------|------------------|-------------|
9797
| [EXTOBS0001](extobs0001.md) | Warning | <xref:Microsoft.Extensions.Diagnostics.ResourceMonitoring.IResourceMonitor> is obsolete and will be removed in a future version. Consider using [Resource Monitoring observable instruments](../../core/diagnostics/built-in-metrics-diagnostics.md#microsoftextensionsdiagnosticsresourcemonitoring). |
98+
| [EXTOBS0002](extobs0002.md) | Warning | The `AddServiceLogEnricher` extension methods have been marked as obsolete starting in package version 10.1.0. The methods enrich application logs, not service logs, so they have been replaced with correctly named `AddApplicationLogEnricher` methods. |
9899

99100
## Suppress warnings
100101

docs/navigate/devops-testing/toc.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,8 @@ items:
567567
href: ../../core/deploying/trimming/trim-warnings/il2122.md
568568
- name: IL2123
569569
href: ../../core/deploying/trimming/trim-warnings/il2123.md
570+
- name: IL2125
571+
href: ../../core/deploying/trimming/trim-warnings/il2125.md
570572
- name: Native AOT deployment model
571573
items:
572574
- name: Overview
@@ -605,6 +607,8 @@ items:
605607
href: ../../core/deploying/native-aot/warnings/il3056.md
606608
- name: IL3057
607609
href: ../../core/deploying/native-aot/warnings/il3057.md
610+
- name: IL3058
611+
href: ../../core/deploying/native-aot/warnings/il3058.md
608612
- name: iOS-like platforms
609613
items:
610614
- name: Overview

docs/navigate/tools-diagnostics/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4181,6 +4181,8 @@ items:
41814181
items:
41824182
- name: EXTOBS0001
41834183
href: ../../fundamentals/syslib-diagnostics/extobs0001.md
4184+
- name: EXTOBS0002
4185+
href: ../../fundamentals/syslib-diagnostics/extobs0002.md
41844186
- name: API compatibility
41854187
items:
41864188
- name: Overview

0 commit comments

Comments
 (0)