Wednesday, April 25, 2012

Setting Up a Team Foundation Server 2010 Project

Reference : http://msmvps.com/blogs/bmains/archive/2010/05/01/setting-up-a-team-foundation-server-2010-project.aspx

I recently installed TFS 2010 and began to setup my projects, so I decided to create this blog post. I’m not going to cover the installation aspect of TFS; rather, I’m going to assume that you successfully installed the base software; this blog doesn’t discuss the use of the proxy or the build service either, just the TFS product and Sharepoint Services 3.0. If you have a SharePoint server, this is supported; however, there are a few more setup procedures available online. To begin, let’s open up Visual Studio 2010, open the project, and open up the Team Explorer tool window on the right. Click the far right icon of the toolbar, Connect to Team Project.


If you have made a connection previously, that entry appears in the “Team Project Collections” list; if you don’t have your target TFS specified, click the Servers button.


On the Add/Remove Server screen, click add, and specify the server to add. Either type in the server name directly, or enter in the full URL. If you type in the server name, specify the path and port in the respective textboxes.



Clicking OK will add the entry to the list. Click close on the Add/Remove TFS screen. In the previous screen (Connect to Team Project), select the newly added server and click Connect. You are connected to the server.

A TFS admin may have to setup a collection for your project; by default, the DefaultCollection is the only collection projects can be added to; having a separate collection means that project can be backed up and restored independently of other projects. These collections setup on the server are what you see in the team explorer. Right click one of the collections, and select New Team Project:


In the opening screen, enter the name and description of the project.



Click next when finished. The next screen asks for the template you would like to use for the project.





Click next to configure the Sharepoint portal site. Team Foundation Server is integrated with SharePoint and installs SharePoint Services 3.0 if you do not have the full SharePoint server installation. By default, if follows a <server>/sites/<collection name>/<project> folder structure. Click configure to change some of the SharePoint settings.

Note: if you don’t have permissions, you may not be able to create the SharePoint site. The SharePoint site can be created manually and linked to the project after installation. If you don’t have permissions, select “Do not configure a SharePoint site at this time”.



Next, specify the location for the project, or branch it from another project.


Finally, view the final statistics and ensure that the project is setup correctly.



This communicates with the server and setups the following project structure within the Team Explorer:




Now our team system project is setup. The following items in this list are:

Work Items – A place to add work items, assign them to members of the team, and so on. Use team queries to get a predefined query of work items, or create your own queries in the “My Queries” option.

Documents – A document library location for you to store documents related to the project.

Reports – Any reports for the project setup in Reporting Services by the installation.

Builds – Any builds defined by the build service for the project.

Source Control – Visit this feature to add your projects to the source control database for the first time.

Reference : http://msmvps.com/blogs/bmains/archive/2010/05/01/setting-up-a-team-foundation-server-2010-project.aspx

No comments:

Post a Comment