Skip to content

Commit 34160f7

Browse files
Copilotsbomer
andcommitted
Add PublishAot and PublishTrimmed as ways to enable verification
Co-authored-by: sbomer <[email protected]>
1 parent 8a56f73 commit 34160f7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ A project has `<VerifyReferenceAotCompatibility>true</VerifyReferenceAotCompatib
1414

1515
## Rule description
1616

17-
When you enable AOT analysis with `<EnableAotAnalyzer>true</EnableAotAnalyzer>` 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 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.
1818

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ A project has `<VerifyReferenceTrimCompatibility>true</VerifyReferenceTrimCompat
1414

1515
## Rule description
1616

17-
When you enable trim analysis with `<EnableTrimAnalyzer>true</EnableTrimAnalyzer>` 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 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.
1818

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

0 commit comments

Comments
 (0)