The problem is that when projects are been built and produced normally without any errors the final packaged msi is missing dependency assemblies that are normally packaged if someone builds the project through visual studio for example. So what happens is that the application is getting installed normally and then crashes on run time by saying that xyz dll is missing.
From what i can tell it either doesn't refresh the dependencies before building the setup project or somehow fails to include all of them.
We build by using devenv and the solution file (Rebuild all)
Has anyone encountered something similar and if yes how did you resolved it?
edit: CruiseControl is running in a different maching that the development one. Moreover we have figured out that this happens with projects referenced within a solution.
IE in a solution with 3 projects, A a library, B an application that references A and C a setup project then after the build what happens is that B is missing A although the build is successfull and the msi produced.