Skip to content

Exception: System.Exception: Native code encountered, plug required. Check build output for more information. #3092

@UnlegitDqrk

Description

@UnlegitDqrk

Expected Behaviour - What do you think that should happen?

It happend after restarting my PC before i got no problems, so i dont know where the Problem is

Actual Behaviour - What unexpectedly happens?

1>IL2CPU : error : Exception: System.Exception: Native code encountered, plug required. Check build output for more information.

Reproduction - How did you get this error to appear?

I dont know, i just restarted my laptop and sind then i get the exception

Version - Were you using the User Kit or Dev Kit? And what User Kit version or Dev Kit commit (Cosmos, IL2CPU, X#)?

Dev Kit commit #3087

Error Log:
1>IL2CPU : error : Exception: System.Exception: Native code encountered, plug required. Check build output for more information.
1> DO NOT REPORT THIS AS A BUG.
1> Please see http://www.gocosmos.org/docs/plugs/missing/
1> Need plug for: System.Void System.Reflection.MetadataImport.GetCustomAttributeProps(System.IntPtr, System.Int32, &System.Int32, &System.Reflection.ConstArray)(Plug Signature: System_Void__System_Reflection_MetadataImport__GetCustomAttributeProps_System_IntPtr__System_Int32___System_Int32___System_Reflection_ConstArray ).
1> Static: True
1> Assembly: System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
1> Called from:
1>System.Reflection.MetadataImport::Void GetCustomAttributeProps(Int32, Int32 ByRef, System.Reflection.ConstArray ByRef)
1>System.Reflection.CustomAttribute::Boolean IsCustomAttributeDefined(System.Reflection.RuntimeModule, Int32, System.RuntimeType, Int32, Boolean)
1>System.Reflection.CustomAttribute::Boolean IsDefined(System.RuntimeType, System.RuntimeType, Boolean)
1>System.RuntimeType::Boolean IsDefined(System.Type, Boolean)
1>System.Reflection.MemberInfo::Boolean IsDefined(System.Type, Boolean)
1>
1>
1> at Cosmos.IL2CPU.ILScanner.ScanMethod(MethodBase aMethod, Boolean aIsPlug, String sourceItem) in C:\Users\finna\Desktop\Workspaces\CosmosOS\IL2CPU\source\Cosmos.IL2CPU\ILScanner.cs:line 562
1> at Cosmos.IL2CPU.ILScanner.ScanQueue() in C:\Users\finna\Desktop\Workspaces\CosmosOS\IL2CPU\source\Cosmos.IL2CPU\ILScanner.cs:line 751
1> at Cosmos.IL2CPU.ILScanner.Execute(MethodBase aStartMethod, IEnumerable`1 plugsAssemblies) in C:\Users\finna\Desktop\Workspaces\CosmosOS\IL2CPU\source\Cosmos.IL2CPU\ILScanner.cs:line 270
1> at Cosmos.IL2CPU.CompilerEngine.Execute() in C:\Users\finna\Desktop\Workspaces\CosmosOS\IL2CPU\source\Cosmos.IL2CPU\CompilerEngine.cs:line 187
1>IL2CPU task took 00:00:04.8878459

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions