Seemingly this can be set by editing the TfsBuildServer.exe.config on the build agent machine and changing the value of the following Key:
<add key=”SourcesSubdirectory” value=”Sources” />
On a 2010 build agent this isn’t possible Continue reading “Changing TFS 2010 $(sourcedir)”