By default a TFS build server outputs all projects in a solution, with the exception of web applications, into a single directory.
To separate the build output directoyr import a modified version of Microsoft.WebApplication.targets into the applicable csproj files.
<Import Project="Modified.Microsoft.WebApplication.targets" />
See also: