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.