References in project is lost when project is recompiled.

Posts   
 
    
Posts: 22
Joined: 11-Jan-2008
# Posted on: 24-Mar-2008 08:53:54   

We regenerate our objects many times when needed. We have a root BIN folder where we put our binaries. The structure is like this.

Folder Structure: src \bin FWSI.MSSF.Data.dll (the generated entities project) FWSI.MSSF.Data.Mappers.dll (the db specific project) FWSI.MSSF.UI.Base.dll \ui \base \project1 \project2 \project3 \project4

All projects reference to FWSI.MSSF.Data library. When we regenerate the llblgen project and overwrite the exisitng DLLs, the reference in our VS2005 project was lost. It was marked with Yellow icon which say reference is missing. This is the case ONLY on llblgen DLL. We tried with other DLL overwriting the DLL and its works just fine.

This issue is very expensive us as we have to remove the reference, browse the BIN folder and add it again in all projects in a big solution wich multiple projects. and we have to do it everytime we regerence the llblgen objects due to changes in database.

I will really appreciated your help.

VS2005 LLBLGen 2.5 Final

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 24-Mar-2008 09:02:27   

Let me understand your setup. Your UI projects reference the FWSI.MSSF.Data.dll in the root BIN folder, correct? And each time you build the regenerated code the output goes to the root BIN folder, correct?

Would you please verify that FWSI.MSSF.Data.dll has the same version across regenerations/builds?

Posts: 22
Joined: 11-Jan-2008
# Posted on: 24-Mar-2008 09:09:36   

that sounds a good idea. i will try that, because the default assemly info settings is "1.0.*". I will set it to "1.0.0.0"

Posts: 22
Joined: 11-Jan-2008
# Posted on: 24-Mar-2008 09:18:53   

Thank you. This fixed the problem.