Unresolved References on upgrade

Posts   
 
    
Markiemac
User
Posts: 132
Joined: 25-Apr-2006
# Posted on: 21-Dec-2007 15:17:33   

Hi All,

Am in the procvess of upgrading from LLBLGen 2.0 & SQL2K to LLBLGen Ver 2.5 (Adapter) & SQL Server 2005. I've currently got 100s of errors and 15 warnings which are almost certainly because of unresolved references.

Could not resolve this reference. Could not locate the assembly "SD.LLBLGen.Pro.DQE.SqlServer.NET20, Version=2.0.0.0, Culture=neutral, PublicKeyToken=ca73b74ba4e3ff27, processorArchitecture=MSIL".

There are no DLLs in the '\bin' folders for my Win, BL or DAL.

What simple step am I missing? flushed

Thanks

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 21-Dec-2007 15:38:11   

Did you regenerate the code using v2.5 of LLBLGen Pro?

After regenerating the code using, you should use the v.2.5 runtime libraries in your references rather than the v.2.0 ones.

Try to manually remove these reference s from your solution and re-add them pointing to the v2.5 ones.

Markiemac
User
Posts: 132
Joined: 25-Apr-2006
# Posted on: 22-Dec-2007 10:05:30   

I did initially refresh my schema and regenerated using V2.5. Have now manually removed and added in references and this has reduced the number of errors and warnings so making progress.

However, although I have a valid reference to SD.LLBLGen.Pro.ORMSupportClasses.Net20 in my MIS.DAL project, the ..\DatabaseGeneric\Bin remains empty and my MIS.DAL.dll is isn't generated.

Any suggestions on what I might do next confused

Thanks

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39908
Joined: 17-Aug-2003
# Posted on: 22-Dec-2007 10:33:53   

Markiemac wrote:

I did initially refresh my schema and regenerated using V2.5. Have now manually removed and added in references and this has reduced the number of errors and warnings so making progress.

However, although I have a valid reference to SD.LLBLGen.Pro.ORMSupportClasses.Net20 in my MIS.DAL project, the ..\DatabaseGeneric\Bin remains empty and my MIS.DAL.dll is isn't generated.

Any suggestions on what I might do next confused

Thanks

Please be sure the version you're referencing is indeed the right version. Then build the project separately, e.g. build dbgeneric then build dbspecific. These should result in a dll. Then make sure your application, which references these projects, compiles.

Frans Bouma | Lead developer LLBLGen Pro
Markiemac
User
Posts: 132
Joined: 25-Apr-2006
# Posted on: 23-Dec-2007 10:36:03   

Otis wrote:

Please be sure the version you're referencing is indeed the right version. Then build the project separately, e.g. build dbgeneric then build dbspecific. These should result in a dll. Then make sure your application, which references these projects, compiles.

I've uninstalled Ver 2.0 so there is only one version on the system, regenerated & rebuilt but still nothing in my ..\DatabaseGeneric\Bin folder except the file MIS.DAL.vshost.exe.

<EDIT> Ok, finally sorted it by following Frans' advice to build the projects separately.

Thanks for all the input.