草庐IT

MaeilKitWintouch

全部标签

windows - 系统.BadImageFormatException : Could not load file or assembly

为了集成两个应用程序,我使用VisualStudio2010开发了一个Windows服务应用程序。在我的WinService中,我调用目标应用程序开发人员提供的一些APIDLL文件,以便在从源应用程序获取信息后在目标应用程序中创建一些信息。所以我的Windows服务就像一些中间件应用程序一样工作。当我运行该服务时,出现以下错误:System.BadImageFormatException:Couldnotloadfileorassembly'Interop.ErpBS800,Version=8.5.0.0,Culture=neutral,PublicKeyToken=e076e239d