Test failure: Interop Work Item throws System.IO.FileNotFoundException

Open Beginner friendly
#134,296 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
csharp

Research direction

Read Documentation/Build Analysis/KnownIssueJsonStepByStep.md and inspect the Error Message JSON against the Interop.WorkItemExecution build result and validation report. Update the matching error text, then rerun known-issue validation and confirm that the build is matched.

Written by the indexing model from the issue text.

Description

area-System.Reflection blocking-clean-ci-optional Known Build Error os-mac-os-x untriaged

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1594299

Build error leg or test failing: Interop Work Item

Error Detail:

Unhandled exception. System.IO.FileNotFoundException: Could not find assembly 'TypeMapLib1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Either explicitly load this assembly using a method such as LoadFromAssemblyPath() or use a MetadataAssemblyResolver that returns a valid assembly.
   at System.Reflection.TypeLoading.Ecma.EcmaResolver.ResolveAssembly(AssemblyReferenceHandle handle, EcmaModule module) in /_/src/libraries/System.Reflection.MetadataLoadContext/src/System/Reflection/TypeLoading/General/Ecma/EcmaResolver.cs:line 150
   at System.Reflection.TypeLoading.Ecma.EcmaResolver.ComputeTypeRefResolution(TypeReferenceHandle handle, EcmaModule module) in /_/src/libraries/System.Reflection.MetadataLoadContext/src/System/Reflection/TypeLoading/General/Ecma/EcmaResolver.cs:line 77
   at System.Reflection.TypeLoading.Ecma.EcmaModule.GetTypeFromReference(MetadataReader reader, TypeReferenceHandle handle, Byte rawTypeKind) in /_/src/libraries/System.Reflection.MetadataLoadContext/src/System/Reflection/TypeLoading/Modules/Ecma/EcmaModule.TypeProvider.cs:line 20
   at System.Reflection.Metadata.Ecma335.SignatureDecoder`2.DecodeType(BlobReader& blobReader, Boolean allowTypeSpecifications, Int32 typeCode) in /_/src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata/Ecma335/SignatureDecoder.cs:line 127
   at System.Reflection.Metadata.Ecma335.SignatureDecoder`2.DecodeTypeSequence(BlobReader& blobReader) in /_/src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata/Ecma335/SignatureDecoder.cs:line 152
   at System.Reflection.Metadata.Ecma335.SignatureDecoder`2.DecodeType(BlobReader& blobReader, Boolean allowTypeSpecifications, Int32 typeCode) in /_/src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata/Ecma335/SignatureDecoder.cs:line 115
   at System.Reflection.TypeLoading.Ecma.EcmaResolver.ResolveTypeDefRefOrSpec(EntityHandle handle, EcmaModule module, TypeContext& typeContext) in /_/src/libraries/System.Reflection.MetadataLoadContext/src/System/Reflection/TypeLoading/General/Ecma/EcmaResolver.cs:line 19
   at System.Reflection.TypeLoading.Ecma.EcmaCustomAttributeData.ComputeAttributeType() in /_/src/libraries/System.Reflection.MetadataLoadContext/src/System/Reflection/TypeLoading/CustomAttributes/Ecma/EcmaCustomAttributeData.cs:line 54
   at System.Reflection.TypeLoading.RoCustomAttributeData.get_AttributeType() in /_/src/libraries/System.Reflection.MetadataLoadContext/src/System/Reflection/TypeLoading/CustomAttributes/RoCustomAttributeData.cs:line 15
   at AssemblyChecker.AssemblyInspector.IsDebug(String path) in /_/src/coreclr/tools/AssemblyChecker/AssemblyInspector.cs:line 20
   at AssemblyChecker.Program.Main(String[] args) in /_/src/coreclr/tools/AssemblyChecker/Program.cs:line 84
[createdump] Gathering state for process 66735 
[createdump] Crashing thread d63ab signal 6 (0006)
[createdump] Writing crash report to file /cores/coredump.66735.dmp.crashreport.json
[createdump] Crash report successfully written
[createdump] Writing minidump with heap to file /cores/coredump.66735.dmp
[createdump] Written 749564024 bytes (182999 pages) to core file
[createdump] Target process is alive
[createdump] Dump successfully written in 2674ms
waitpid() returned successfully (wstatus 00000000) WEXITSTATUS 0 WTERMSIG 0

Error Message

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

{
  "ErrorMessage": "Failed test: Interop Work Item",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1594299
Error message validated: [Failed test: Interop Work Item]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 9/20/2026 2:23:57 AM UTC

Report
Build Repository Test Pull Request
1594299 dotnet/runtime Interop.WorkItemExecution
Summary
24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 1
Dominant language
C#
Stars
18.3k
Forks
5.6k
Avg merge
2d 19h
Merged PRs (30d)
589

Contributor guide

Open the contributing guide

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 dotnet/runtime

All issues in dotnet/runtime

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.