Skip to content

Commit 7bd3ffd

Browse files
Copilotsbomer
andcommitted
Remove EnableAotAnalyzer and EnableTrimAnalyzer mentions
Co-authored-by: sbomer <[email protected]>
1 parent 34160f7 commit 7bd3ffd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ A project has `<VerifyReferenceAotCompatibility>true</VerifyReferenceAotCompatib
1414

1515
## Rule description
1616

17-
When you enable AOT analysis with `<EnableAotAnalyzer>true</EnableAotAnalyzer>`, `<PublishAot>true</PublishAot>`, or mark your project as AOT-compatible with `<IsAotCompatible>true</IsAotCompatible>`, you can optionally enable verification that all referenced assemblies are also annotated for AOT compatibility. This helps ensure that all dependencies in your project are annotated for AOT compatibility.
17+
When you publish with Native AOT using `<PublishAot>true</PublishAot>` or mark your project as AOT-compatible with `<IsAotCompatible>true</IsAotCompatible>`, you can optionally enable verification that all referenced assemblies are also annotated for AOT compatibility. This helps ensure that all dependencies in your project are annotated for AOT compatibility.
1818

1919
To enable this verification, set the `VerifyReferenceAotCompatibility` property to `true` in your project file:
2020

2121
```xml
2222
<PropertyGroup>
23-
<EnableAotAnalyzer>true</EnableAotAnalyzer>
23+
<PublishAot>true</PublishAot>
2424
<VerifyReferenceAotCompatibility>true</VerifyReferenceAotCompatibility>
2525
</PropertyGroup>
2626
```

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ A project has `<VerifyReferenceTrimCompatibility>true</VerifyReferenceTrimCompat
1414

1515
## Rule description
1616

17-
When you enable trim analysis with `<EnableTrimAnalyzer>true</EnableTrimAnalyzer>`, `<PublishTrimmed>true</PublishTrimmed>`, or mark your project as trimmable with `<IsTrimmable>true</IsTrimmable>`, you can optionally enable verification that all referenced assemblies are also annotated for trim compatibility. This helps ensure that all dependencies in your project are annotated for trim compatibility.
17+
When you publish a trimmed app using `<PublishTrimmed>true</PublishTrimmed>` or mark your project as trimmable with `<IsTrimmable>true</IsTrimmable>`, you can optionally enable verification that all referenced assemblies are also annotated for trim compatibility. This helps ensure that all dependencies in your project are annotated for trim compatibility.
1818

1919
To enable this verification, set the `VerifyReferenceTrimCompatibility` property to `true` in your project file:
2020

2121
```xml
2222
<PropertyGroup>
23-
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
23+
<PublishTrimmed>true</PublishTrimmed>
2424
<VerifyReferenceTrimCompatibility>true</VerifyReferenceTrimCompatibility>
2525
</PropertyGroup>
2626
```

0 commit comments

Comments
 (0)