I recently setup a new build server for TFS 2015. ON the build agent properties the working dir was originally set to $(SystemDrive)\$(buildnum)\etc I changed it to be hard coded to E:\ for all the build agents.
But it still attempts to check out the code under C:\
I have looked in the build definition, the build template and the config.xml and see no reference to c:\ or $(SystemDrive) anywhere.
Why is it ignoring the working directory and how can I get it to build under E:\
EDIT ------
Ok now that I have looked at it a little more what I think is happening is that it is copying the source to C: first and then moving it to E: to actually run the build. Based on $(SourceDir) and the BuildAgent Working directory. That being said I do not know how to configure the $(SourceDir) value to point it to E:\
We dont have enough space on the C: to be able to pull down multiple project folders before copying them to E: