c# - SolaceSystems.Solclient.Messaging, Version=10.0.0.0, exception -
getting exception when trying run solace app
an unhandled exception of type 'system.badimageformatexception' occurred in unknown module.
additional information: not load file or assembly 'solacesystems.solclient.messaging, version=10.0.0.0, culture=neutral, publickeytoken=e191a36e57c23464' or 1 of dependencies. attempt made load program incorrect format.
if there handler exception, program may safely continued.
also getting warnings prior building warning 1 there mismatch between processor architecture of project being built "msil" , processor architecture of reference "solacesystems.solclient.messaging, version=10.0.0.0, culture=neutral, , processorarchitecture=amd64", "amd64". mismatch may cause runtime failures. please consider changing targeted processor architecture of project through configuration manager align processor architectures between project , references, or take dependency on references processor architecture matches targeted processor architecture of project.
are 2 related?
you have platform mismatch. using x64 libraries on x86 platform, or vice versa.
note warning mismatch of processor architecture can safely ignored long install correct messaging assembly (and corresponding native library) @ run-time. warning reminder visual studio set run-time environment properly.
Comments
Post a Comment