Errors with 1.0.2005.1 project after upgrading to 2

Posts   
 
    
Gabbo
User
Posts: 56
Joined: 12-Jun-2006
# Posted on: 19-Jul-2006 20:14:56   

I recently upgraded to v2 (installed into a completely separate folder). The only thing I've done with v2 is to launch it to make sure the license was working okay. When I opened a project I hadn't used for the past couple of weeks and attempted to run something, I received a bunch of errors such as:

No overload for method 'DataAccessAdapterBase' takes '0' arguments

Cannot convert from 'SD.LLBLGen.Pro.ORMSupportClass.IComPlusAdapterContext' to 'SD.LLBLGen.Pro.ORMSupportClasses.IPersistenceInfoProvider'

etc.

Does this sound like a familiar scenario or did I change something without realizing it? I've even gone so far as to completely delete the generated directories and regenerate them again and end up with identical errors.

Version: 1.0.2005.1 Final Adapter scenario (Full / Safe) Vs.NET 2005 (1.0.2005.1.03032006) C# template set for SqlServer (1.0.2005.1) (1.0.2005.1.111705)

Thanks in advance!

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39928
Joined: 17-Aug-2003
# Posted on: 19-Jul-2006 22:30:07   

VS.NET makes a mess of references if it finds 2 versions of a dll with the same name. It is likely in the 1.0.2005.1 project, vs.net thinks you want to reference the llblgen pro v2.0 runtime libs. could you check in vs.net? (click the reference of ormsupportclasses, check the properties window, it has to contain 1.0.2005.1 for the version)

Frans Bouma | Lead developer LLBLGen Pro
Gabbo
User
Posts: 56
Joined: 12-Jun-2006
# Posted on: 19-Jul-2006 23:35:40   

Otis wrote:

VS.NET makes a mess of references if it finds 2 versions of a dll with the same name. It is likely in the 1.0.2005.1 project, vs.net thinks you want to reference the llblgen pro v2.0 runtime libs. could you check in vs.net? (click the reference of ormsupportclasses, check the properties window, it has to contain 1.0.2005.1 for the version)

This is indeed the problem, I'm back in business. Thanks for the quick reply!