C#项目目标框架:.net framework 4.5.2,输出类型:windows 应用程序
目标环境:ubuntu 16.04.7,内核版本:Linux 4.15.0-123-generic
运行报错内容:
Can't find custom attr constructor image: loraServer.exe mtoken: 0x0a00000e due to: Could not load file or assembly 'log4net, Version=2.0.12.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a' or one of its dependencies.
Unhandled Exception:
System.TypeLoadException: Could not load type of field 'loraServer.frmMain:logger' (0) due to: Could not load file or assembly 'log4net, Version=2.0.12.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a' or one of its dependencies.
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type of field 'loraServer.frmMain:logger' (0) due to: Could not load file or assembly 'log4net, Version=2.0.12.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a' or one of its dependencies.
程序在windows下运行正常,使用mono在上述环境下运行正常,但使用anyexec运行报上述错误
请指点一下
作者:疯树苗 发布时间:20年12月01日 可选操作:
删除 回复作者:yueni 发布时间:20年12月03日 可选操作:
删除 回复