Could Not Load File Or Assembly "seagull.bartender.print Follow


Hello Support.  My environment currently has clients running Bartender 9.1 and am upgrading to 10.0 SR4.  My understanding based on other posts is that if I compile my program using the oldest version (9.1), I should be able to use that same program across the future versions of Bartender as well.  The application is .NET and I have it compiling using .NET 3.5.  If I run the application at 9.1, it works fine.  If I open with a 10.0 SR4, I receive the error:  Could not load file or assembly "Seagull.BarTender.Print, Version, Culture=neutral, PublicKeyToken=null" or one of its dependencies.  The located assembly's manifest definition does not match the assembly reference. (Exceptiono from HRESULT: 0x80131040)


I know that 9.1 is ending support July 1st and we are moving to update the legacy clients; however, due to the environment (validated), I don't have the ability to update all of them in the near future.  I am compiling at x86, not 64-bit.  I'm excluding the files when packaging.  I've selected "Specific Version = False" for your DLL reference.  I'm specifying .NET 3.5 and running Visual Studio 2012.  If I just compile the program over the 10.0 SR4 SDK DLL, it works fine on the 10.0 SR4 clients. 


I would like to avoid having two copies of my program to utilize the appropriate SDK.  I have workstations running Windows XP, 7, 8.1. 


Thanks in advance for your assistance.






Shotaro Ito
Comment actions Permalink

Hi Walt,

In prior to BarTender 9.4, BarTender .net sdk dll are required to be copied in application directory. From 9.4, sdk dll are stored in Windows's Global Assembly Cache (GAC) and application have reference to the dlls in GAC.

That makes application developed for BarTender 9.3 or before is not compatible for 9.4 or later. Application developed for 9.4 is compatible for 10.0 and 10.1.

Unfortunately you need to build 9.1 ver and later 10.1 ver of the application.

Please sign in to leave a comment.