Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

UpdateBuildNumberDropLocation Task

The UpdateBuildNumberDropLocation updates the build number and drop location in the Team Foundation version control database. This task also creates the drop directory and grants full permissions to all the accounts in the Service Accounts group.




Specifies the Team Foundation Server URL. For example, http://MyServer:8080.


Specifies the Uniform Resource Identifier (URI) for the build definition.


Specifies the new build number.


Specifies the new drop location.

The Microsoft.TeamFoundation.Build.targets file contains an instance of the UpdateBuildNumberDropLocation task that Team Foundation Build uses as a default implementation as a part of the InitializeEndToEndIteration target.

Microsoft.TeamFoundation.Build.targets file is stored in the <root>:\Program Files\MSBuild\Microsoft\VisualStudio\TeamBuild folder on the Team Foundation Build computer.

The following example shows the default instance of UpdateBuildNumberDropLocation task defined in the Microsoft.TeamFoundation.Build.targets file.

    DropLocation="$(DropLocation)$(Slash)$(BuildNumber)" />
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.