The actual BuildDropLocation needs to be available on a network share. The drop location is used by clients and the TFS Application Tier when you publish test results. It also needs to be accessible to both clients and the TFS Application Tier machine when accessing build results. As part of the datawarehouse step the TFS Application Tier machine will access the build results over the drop location to find the test results files to add to the warehouse.
That said, assuming that your build server is the same machine that is hosting your drop location share - and will always be the same machine then you can skip the drop step from the TFSBuild.proj. One solution would probably be a combination of those outlined by Todd and Chad i.e. something like:
<SkipDropBuild>true</SkipDropBuild>
<Target Name ="AfterDropBuild">
<Exec Command="move $(BinariesRoot)\Release d:\BuildOutput\$(BuildNumber)\Release"/>
</Target>
Note that you shouldn't actually have to hard-code the "Release" part but be able to get that from the configuration properties - however I don't have my TeamBuild targets file to hand so I cannot say exactly what that is at the moment so I'll look it up when I get back to my desk and edit this answer accordingly.
That said there are quite a few risks involved in doing this.
- You have to make sure that you have all the file paths lined up exactly right or things like viewing a build log or populating the TFS warehouse with test results might stop working
- You will have hard-coded your build and drop locations to always exist on the same machine. If someone attempts to build your TFSBuild.proj file on a different machine then things won't work as they expect
- If someone edits the drop location property in the build definition then they have to know to make a corresponding edit in the TFSBuild.proj file
Therefore because of the maintainability issues involved in this approach - I wouldn't recommend it in the vast majority of cases. It would be worth doing a test and seeing how much time this actually saves to to determine if it is a worthwhile optimization in your circumstances.