Skip to content

API compat error for DisableGeneratedCodeHeuristics in ILLink #117854

@PranavSenthilnathan

Description

@PranavSenthilnathan

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1099923&view=results
Build error leg or test failing: windows-x64 Debug Libraries_WithPackages

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "error CP0002: (NETCORE_ENGINEERING_TELEMETRY=Build) Member 'bool Mono.Linker.LinkContext.DisableGeneratedCodeHeuristics.get' exists on lib/net10.0/illink.dll but not on ref/net10.0/illink.dll",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1099923
Error message validated: [error CP0002: (NETCORE_ENGINEERING_TELEMETRY=Build) Member 'bool Mono.Linker.LinkContext.DisableGeneratedCodeHeuristics.get' exists on lib/net10.0/illink.dll but not on ref/net10.0/illink.dll]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 7/19/2025 9:57:37 PM UTC

Report

Build Definition Step Name Console log Pull Request
1100634 dotnet/runtime Build product Log #117679
1100510 dotnet/runtime Build product Log #116682
1100487 dotnet/runtime Build product Log #117871
1100488 dotnet/runtime Build product Log #117593
1100438 dotnet/runtime Build product Log #117869
1100413 dotnet/runtime Build product Log #117868
1100409 dotnet/runtime Build product Log #117697
1100405 dotnet/runtime Build product Log #117701
1100353 dotnet/runtime Build product Log #117856
1100351 dotnet/runtime Build product Log
1100229 dotnet/runtime Build product Log #117817
1100333 dotnet/runtime Build product Log #117865
1100120 dotnet/runtime Build product Log #117831
1100277 dotnet/runtime Build product Log #117584
1100214 dotnet/runtime Build product Log #117858
1100201 dotnet/runtime Build product Log
1100148 dotnet/runtime Build product Log #117845
1099901 dotnet/runtime Build product Log #117847
1100117 dotnet/runtime Build product Log #117856
1099923 dotnet/runtime Build product Log #117850
1100098 dotnet/runtime Build product Log #117694
1100074 dotnet/runtime Build product Log
1099446 dotnet/runtime Build product Log #117797
1099436 dotnet/runtime Build product Log #117796

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
13 24 24

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabarea-Tools-ILLink.NET linker development as well as trimming analyzers

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions