【问题标题】:IKVM.Runtime exception in .Net Core 2.0.Net Core 2.0 中的 IKVM.Runtime 异常
【发布时间】:2018-08-05 01:36:36
【问题描述】:

在 .net core 2.0 应用程序中使用 IKVM 时,我在 IKVM.Runtime.dll 中遇到以下异常:

Method not found: 'Void System.Reflection.Emit.ILGenerator.EmitCalli(System.Reflection.Emit.OpCode, System.Runtime.InteropServices.CallingConvention, System.Type, System.Type[])'.

我知道 IKVM 只支持 .Net Framework。那么有什么办法可以解决这个问题吗?

【问题讨论】:

    标签: .net-core-2.0 ikvm


    【解决方案1】:

    该方法已从 .NET API 中删除或隐藏。只需要在 Java 中编译流 API。通过将流重写为 Java 6 循环,您将不再调用此方法。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2017-08-14
      • 1970-01-01
      • 2019-01-24
      • 2018-08-25
      • 1970-01-01
      • 1970-01-01
      • 2020-04-27
      相关资源
      最近更新 更多