How to customize the drop location in team build?

For eaxmple in your tfsbuild.proj, the value of DropLocation is \\machine\drop1 and you want to change it to \\machine\drop2.

  • Edit your build type definition (tfsbuild.proj) file and overload the BeforeEndToEndIteration

<Target Name="BeforeEndToEndIteration">

    <CreateProperty Value="$(CustomDropLocation)" >

        <Output TaskParameter="Value" PropertyName="DropLocation"/>



  • Edit the tfsbuild.rsp file to pass the custom value of drop location.

Add the following line to tfsbuild.rsp. This along with changes in step (1) will reset your DropLocation.


For more details about the overriding precedence for msbuild properties, refer this post.


Comments (3)

  1. Anutthara talks about using Team Build with VSS or your own source control.

    Paul Whitaker blogs about…

  2. Hi,

    Is there a way to determine what the actual drop location is? So this way you archive drops and can still deploy the app from the drop to a test/production?



  3. David Madison says:


    I’ld like to have a folder created in the drop location for each solution in the build project.  Is there a way to pass the solution name to the drop task using the /p:CustomDropLocation parameter.  Or how would you suggest doing this otherwise?



Skip to main content