Add support for new AOT metadata flag in .NET 10
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
Research direction
Start by reading NativeAOTDependencyHelper.Core/Checks/IsTrimmableMetadataCheck.cs and the linked .NET runtime change to understand how the existing metadata check works. Add equivalent coverage for IsAotCompatible, and verify that libraries built against .NET 10 are recognized through the new assembly metadata flag.
Written by the indexing model from the issue text.
Description
In .NET 10 they added a similar metadata flag to trimmable for AOT: https://github.com/dotnet/runtime/pull/118180
<IsTrimmable>true</IsTrimmable> adds [assembly: AssemblyMetadata("IsTrimmable", "True")]
<IsAotCompatible>true</IsAotCompatible> adds [assembly: AssemblyMetadata("IsAotCompatible", "True")
We already have the checker for IsTrimmable check here: https://github.com/microsoft/NativeAOTDependencyHelper/blob/main/NativeAOTDependencyHelper.Core/Checks/IsTrimmableMetadataCheck.cs
We should copy this to add for IsAotCompatible as well for libraries that build against .NET 10.
- Dominant language
- C#
- Stars
- 45
- Forks
- 6
- Avg merge
- 16h 1m
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/NativeAOTDependencyHelper
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
microsoft/NativeAOTDependencyHelper#13 · 1 reaction ·
-
JsonException Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
microsoft/NativeAOTDependencyHelper#10 · 2 comments ·
-
Add SLNX Support Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
microsoft/NativeAOTDependencyHelper#9 · 1 reaction ·
All issues in microsoft/NativeAOTDependencyHelper
Similar issues
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
ci-failure-cause test-failure
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
area:auth FE mvp P3
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
klasolsson81/jobbliggaren#1788 ·