TFS Process Template - Creating an Initial Version Control Folder

I searched and just can't find the answer to this question, so here goes ...

I would like to edit the TFS process template to automatically add the following folders to the version control system when creating a new team project:

<teamProject> |- DEVELOPMENT |- MAIN |- BUILD |- SOURCE |- TEST |-RELEASES 

Currently, I have to add these folders for each new project team created. I would like a little automation to move forward.

If the process template is not suitable for execution, I suspect that this can be done in the API, but so far it has not been able to find a suitable starting point.

+6
source share
3 answers

A very simple way to do this is to configure the folder structure the way you want in the Temp / Test Team project, and then, when you create a new Team Project, you will be given the option "Specify source control settings"

enter image description here

In this dialog box, select "Create a new source control branch": The Temp / Test Team project root opens.

Thus, all your future team projects will have the same structure as the Temp / Test Team project.

0
source

I choose to create my own solution (C #), which creates a TP program, and then creates a specific source control structure using the TFS client object model.

Hi

0
source

We did not examine this in detail, but http://mskold.blogspot.com/2010/10/tfs2010-automated-team-project-creation.html could give you some clues on how you can achieve this.

There is another post in StackOverflow that asked the same question: TFS2010 Automatic folder structure

0
source

Source: https://habr.com/ru/post/894225/


All Articles