Could Not Load File Or Assembly 'interop.bartender, Version= Follow

Legacy Poster

When I upgrade from BT9.2 to BT10, and run on Visual Studio 2008, it can run properly.


However when I publish it as an exe and run it as exe (with BT installed on the same PC of course!), I had this error
below. Do you have any idea?


See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.IO.FileLoadException: Could not load file or assembly 'Interop.BarTender, Version=, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'Interop.BarTender, Version=, Culture=neutral, PublicKeyToken=null'


Domingo Rodriguez
Comment actions Permalink

Please check the version of the Interop.BarTender.dll in the Windows GAC (C:\Windows\assembly). If the version is different, use the correct version of the assembly in your project when referencing it.

Please sign in to leave a comment.