Welcome to MSDN Blogs Sign in | Join | Help

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"/>

    </CreateProperty>

</Target>

  • 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.

/p:CustomDropLocation=\\machine\drops2

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

 

Published Wednesday, April 12, 2006 12:24 PM by ManishAgarwal

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# VSTS Links - 04/12/2006

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

Paul Whitaker blogs about...
Wednesday, April 12, 2006 9:52 AM by Team System News

# re: How to customize the drop location in team build?

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?

Thanks.

Alexey.
Wednesday, May 24, 2006 4:34 PM by Alexey Kouzmitch

# re: How to customize the drop location in team build?

Hi,

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?

Thanks,
David
Monday, July 10, 2006 9:14 AM by David Madison

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker