I fixed this by replacing all $(SolutionDir) with $(ProjectDir)..\.
It was due to MSBuild running each project independently, and thus not the solution. It worked fine in VS2010, but not on the build server.
I fixed this by replacing all $(SolutionDir) with $(ProjectDir)..\.
It was due to MSBuild running each project independently, and thus not the solution. It worked fine in VS2010, but not on the build server.