Issue with ORMSupportClasses

Posts   
 
    
Fishy avatar
Fishy
User
Posts: 392
Joined: 15-Apr-2004
# Posted on: 31-Aug-2009 20:35:53   

Hi All,

I have a project that uses llbl 2.0.

I have another project that uses llbl 2.6 but it does not expose any llbl objects. It is just a bunch of Shared methods that returns integers and datatables.

Both of these projects are in seperate solutions.

The first project (2.0) reference the second project (2.6). Program compiles ok but when it hits the first use of the second project i get the following error:

Could not load file or assembly 'SD.LLBLGen.Pro.ORMSupportClasses.NET20, Version=2.6.0.0, Culture=neutral, PublicKeyToken=ca73b74ba4e3ff27' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

I can understand that there would be a problem if I was returning 2.6 llbl objects to the 2.0 llbl program but I'm not doing that so I don't know why it's complaning or how to work around this problem.

Any help would be greatly appreicaiated.

Thanks,

Fishy

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 01-Sep-2009 03:40:01   

Hi Fishy. I never faced this but it seems clear to me that you can't do that (use objects of some project that relies on some assembly from a project that relies on other version of such assembly).

Any chance you can upgrade the first project to v2.6? If upgrade is a problem you can use backward compatibility of some templates. However upgrade from v2.0 to v2.6 is not that hard simple_smile

David Elizondo | LLBLGen Support Team