AotCheck fails locally on NU1903 for Microsoft.DotNet.ILCompiler 10.0.11

Open
#104 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
csharp

Research direction

Start by comparing the SDK version and NuGet audit settings used by the CI trim-and-aot job with the local dotnet publish tests/AotCheck command. Then identify which version brings in Microsoft.DotNet.ILCompiler 10.0.11 and choose a patched ILCompiler or SDK version. Done when the local publish succeeds without NU1903 and matches CI's relevant settings.

Written by the indexing model from the issue text.

Description

dotnet publish tests/AotCheck fails locally with NU1903 (a known vulnerability in Microsoft.DotNet.ILCompiler 10.0.11, warnings as errors), while CI's trim-and-aot job passes. Find out why CI differs (audit settings, SDK version), and move to a patched ILCompiler or SDK so the local check matches CI.

Dominant language
C#
Stars
0
Forks
0
Avg merge
1h 43m
Merged PRs (30d)
43

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from sillsdev/SIL.TextEditing

All issues in sillsdev/SIL.TextEditing

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.