开发者

TFS Process Template - Creating Initial Version Control Folder Structure

开发者 https://www.devze.com 2023-03-25 21:12 出处:网络
I have searched and just can\'t seem to find the answer t开发者_如何学编程o this question so here goes...

I have searched and just can't seem to find the answer t开发者_如何学编程o this question so here goes...

I would like to edit a TFS Process Template to add the following folders to Version Control automatically when I create a new team project:

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

Currently I have to add these folders for each new team project created. I'd like a little automation moving forward.

If the process template is not the place to accomplish, I suspect this can be done in the API, but so far unable to find the appropriate point to start.


A really easy way to do this is to setup the folder structure the way you want in a Temp/Test Team Project and then when you create a new Team Project you will be given the option "Specify Source Control Settings"

TFS Process Template - Creating Initial Version Control Folder Structure

In this dialogue, select "Create a new source control branch" Branch from: Select the root of the Temp/Test Team Project.

In this way, all your future Team Projects will have the same structure as the Temp/Test Team Project.


I choose to create a custom solution (C#) who creates the TP programmatic and then creates a specific source control structure using the TFS Client Object Model.

Regards


Have not looked at this in detail, but http://mskold.blogspot.com/2010/10/tfs2010-automated-team-project-creation.html could give you some hints how you can achieve this.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消