In the project I\'ve inherited, the original developer used a number of post-build events in his Visual Studio projects to copy around DLL\'s and stuff when building inside
I use a similar approach to do this. I add the following to each project's post-build steps:
if '$(TeamBuild)'=='True' exit 0
Then when configuring the Build Definition I simply add:
/p:TeamBuild=True
...to the MSBuild Arguments.
This gives me the flexibility to keep all the configuration in the projects and the build definition.