Project reference error when reloading from source control

Posts   
 
    
Posts: 77
Joined: 05-May-2005
# Posted on: 14-Jun-2005 00:04:03   

We were going along quite nicely when our Configuration Management department decided to switch the server where they were storing the source code. So we dutifully downloaded all the code from the new location. Now we are getting hundreds of errors like this:

'Public Overridable NotOverridable Function Add(entityToAdd As SD.LLBLGen.Pro.ORMSupportClasses.IEntity) As Integer' is declared in project 'SD.LLBLGen.Pro.ORMSupportClasses.NET11.dll', which is not referenced by project 'CTS.MoneyRoom.Ws.WinUI.exe'.

But the dll in question IS being referenced in the project. I even tried deleting and readding the reference. Any clue as to what might be causing this?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 14-Jun-2005 10:24:42   

Are you sure you reference the correct version? (i.e. .NET10 instead of .NET11)

First try to compile the generated code separately, see if that works. Then move on to compile the complete project. If you have a lot of projects which all reference the ORMSupportClasses, it can be one reference is still pointing to a different file. VS.NET can then get confused.

Frans Bouma | Lead developer LLBLGen Pro
Posts: 77
Joined: 05-May-2005
# Posted on: 29-Jun-2005 20:36:31   

Sorry to have bothered you. Turns out the version of the LLBLGEN libraries we had checked into source control were old. Strange though that the dates were the same. I checked in the newer versions and all is good! simple_smile