我的 .Net 应用程序引用了一些 nuget 包。当我尝试使用 JavaNet 在 java/scala 中使用 .Net DLL 时。请让我知道如何解决此错误。谢谢
我得到以下“消息:无法加载一个或多个请求的类型。检索 LoaderExceptions 属性以获取更多信息。堆栈跟踪:在 System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) at System.Reflection.Assembly.GetTypes( ) 在 SicsClrController.Engine.ClrEngine.FindTypeInAssembly(Assembly assembly, String className, List`1 genericTypes)。加载程序异常: -------------------------加载程序异常 #0
消息:无法加载文件或程序集“System.Memory,Version=4.0.1.0,Culture=neutral,PublicKeyToken=cc7b13ffcd2ddd51”或其依赖项之一。该系统找不到指定的文件。完整打印:System.IO.FileNotFoundException:无法加载文件或程序集“System.Memory,Version=4.0.1.0,Culture=neutral,PublicKeyToken=cc7b13ffcd2ddd51”或其依赖项之一。该系统找不到指定的文件。文件名:'System.Memory,版本=4.0.1.0,Culture=neutral,PublicKeyToken=cc7b13ffcd2ddd51'"