-
Notifications
You must be signed in to change notification settings - Fork 552
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception: System.Exception: Native code encountered, plug required. Check build output for more information. #3092
Comments
Are you using Reflection? |
No i imported CosmosTTF and the Cosmos-Optimization-Kit. But i didnt found anything with reflection |
Are you using Custom Attributes? |
Im using the ManifestResourceStream but here is the Kernel Code (not the cleanest): namespace DarkOS.Main
} |
There is some problem (But not compile problem) in kernel file. You should put that Canvas part to BeforeRun(). Anyways, I can't find any problems in this file. Can you give other files? (via comment or via github) |
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
The text was updated successfully, but these errors were encountered: