I have a VS 2005 solution with the following directory structure:
such that the solution and project are at the same level, however, the test project is one level below.
the project (both the test and the main) share a reference to an external project's DLL. This DLL is compiled by TC and placed into an artifact prior to the Main.sln project being compiled.
(Artifact path: *.dll, destination path: bin\).
The Main.csproj file compilies without issue. However the Test.csproj does not. reports that it cannot find the external DLL. "The type xxx.yyy.Services.CentralizedServiceContract.AgentInformation' is defined in an assembly that is not referenced."
I have checked the build directory on the build agent, the external DLL is specified in the bin directory of the MAIN project and the artifacts are created for the MAIN project as well.
When i add an additional entry for the artifact path to push to the Test directory it works. Is this by design behavior? Is there a better way to do this (other than the GAC)?