This is probably one of the sillier questions on SO, but I can't solve it.
I've got a solution containing three projects A, B and C. A and B are static lib projects, and C is an exe project which links with A and B. I've set up the build directories so that the build artifacts for each project are located as follows:
A: $(SolutionDir)\$(PlatformName)\$(Configuration)\Lib\A.lib
B: $(SolutionDir)\$(PlatformName)\$(Configuration)\Lib\B.lib
C: $(SolutionDir)\$(PlatformName)\$(Configuration)\Bin\C.exe
Since the exe built in project C expects the libs in A and B, I've added libraries A.lib and B.lib to project C Properties->Linker->General->Additional Dependencies. I've added the directory locations for A and B exactly as listed above to Project Properties->Linker->General->Additional Libraries Directories.
When linking, I get the linker error LNK1104: cannot open file A.lib
Can anyone help? I've got some experince eof using VS, but this is the first time I've built a multi-project solution from scratch.
Many thanks.