Skip to content

[ci-scan] Build break: CS0246 InvalidCSharp not found in ByRefLike/Validate.csproj (MiniFullAot) #128370

@github-actions

Description

@github-actions

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1425947
Build error leg or test failing: linux-x64 Release AllSubsets_Mono_MiniFullAot_RuntimeTests minifullaot - Build Tests

Error Details

The MiniFullAot runtime test build consistently fails with CS0246 because the InvalidCSharp namespace (generated by an IL assembly project) is not found when compiling src/tests/Loader/classloader/generics/ByRefLike/Validate.csproj.

src/tests/Loader/classloader/generics/ByRefLike/Validate.cs(8,7): error CS0246: The type or namespace name 'InvalidCSharp' could not be found (are you missing a using directive or an assembly reference?) [src/tests/Loader/classloader/generics/ByRefLike/Validate.csproj]
src/tests/Loader/classloader/generics/ByRefLike/GenericTypeSubstitution.cs(8,7): error CS0246: The type or namespace name 'InvalidCSharp' could not be found (are you missing a using directive or an assembly reference?) [src/tests/Loader/classloader/generics/ByRefLike/Validate.csproj]

Persistent across the entire scanned window (May 1 - May 19, 2026); true origin may predate 2026-05-01.

Affected legs:

  • runtime-extra-platforms (def 154): linux-x64 Release AllSubsets_Mono_MiniFullAot_RuntimeTests minifullaot

First build it occurred: 1404759 (2026-05-01). Persistent across the entire scanned window; true origin may predate 2026-05-01.

Error Message

{
  "ErrorMessage": "error CS0246: The type or namespace name 'InvalidCSharp' could not be found (are you missing a using directive or an assembly reference?) [/__w/1/s/src/tests/Loader/classloader/generics/ByRefLike/Validate.csproj]",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Note

🔒 Integrity filter blocked 1 item

The following item was blocked because it doesn't meet the GitHub integrity level.

  • #125825 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".

To allow these resources, lower min-integrity in your GitHub frontmatter:

tools:
  github:
    min-integrity: approved  # merged | approved | unapproved | none

Generated by CI Outer-Loop Failure Scanner · ● 37.8M ·

Report

Build Definition Step Name Console log Pull Request
1431148 dotnet/runtime Build Tests Log
1430925 dotnet/runtime Build Tests Log
1430515 dotnet/runtime Build Tests Log
1429871 dotnet/runtime Build Tests Log #125437
1429522 dotnet/runtime Build Tests Log
1429323 dotnet/runtime Build Tests Log
1428793 dotnet/runtime Build Tests Log
1428144 dotnet/runtime Build Tests Log #125437
1427787 dotnet/runtime Build Tests Log
1427748 dotnet/runtime Build Tests Log #124173
1427615 dotnet/runtime Build Tests Log
1427168 dotnet/runtime Build Tests Log
1427030 dotnet/runtime Build Tests Log #125437
1426342 dotnet/runtime Build Tests Log #125437

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
4 14 14

Metadata

Metadata

Labels

Known Build ErrorUse this to report build issues in the .NET Helix tabagentic-workflowsarea-TypeSystem-coreclrblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'untriagedNew issue has not been triaged by the area owner

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions