Team Foundation Server
Team Foundation Server Information
TFS Web PortalInitial Configuration of TFS
Configure a new TFS Project
- Set up a Team Project Collection using the TFS Admin Console appliction on Vibe, or use the Default Collection (no work required)
- Open Visual studio
- Close any open solutions in VS.
- Open "Team Explorer"
- Select the "View" Menu
- Click "Team Explorer"
- In Team Exploere click "Select Team Projects" A dialog titled "Connected to Team Foundation Server" should appear.
- Select "vibe" in the servers drop down. If no servers are listed:
- Click the "Servers" button
- Click "Add"
- In the url field type "vibe" without quotations
- Path should be "tfs" without quotations
- Port number should be 8080
- Protocol should be "HTTP"
- Preview should read "http://vibe:8080/tfs"
- Click "OK"
- Click "Close"
- Select the Team Project Collection which will house the new TFS Project.
- Click "Connect"
- In "Team Explorer" Click the "Home" header below the search box.
- Select "Projects and My Teams" and "New Team Project"
- Enter a Project Name and Description and Click Next
- Select a Process Template
- Select "Team Foundation Version Control" as the version control system and click "Next"
- Review the configuration and click "Finish"
- Click "Close"
~~~~~~CreateCreateworkspace w/an empty folder on your file system to serve as the workspace for the project. This workspace may contain multiple solutions. The workspace is a folder on your local file system where you will perform your work. A Workspace is mapped to a TFS project.~~~~~~PerformInaTeamget,Explorershouldn'tclickget"Configureanything,Workspace"empty project~~~~~~Move data into workspace~~~~~~Commit data toOpenunder theSolutionprojecttoheader. Thebefirstaddedbox is the path to the TFS Project and should be "$/[Project Name" where "$" represents the TFS Server and Team project collection. so the expanded path would be "[server]\[TFS Project Collection]\[TFS Project Name]" The second box in "Configure Workspace is the local path which will be connected to TFS Server/collection/project. Click the browse button and set the workspace local directory to the empty directory created in the previous step.- Click "Map & Get" If an error occurs it may be necessary to clear the TFS cache located at C:\Users\UserName\App_Data\Local\Microsoft\Team Foundation\Cache
- Move existing solution data into the empty workspace folder.
- In Team Explorer click the Refresh button. The Solutions section should be populated with all solutions in the subfolders of the workspace folder.
- In the
solutionProjectexplorer,section of Team Explorer click "Source Control Explorer" - Click the Project Node on the left.
- Click the "Add Items to Folder" button. A Dialog will be shown that should list all data moved in to the workspace folder.
- Select all the listed items (Ctrl+A)
- Click Next. AFter a moment a listing of all files and folders will displayed. This is an opportunity to exclude/include items. The inclusion/exclusion is designed to avoid version control on compiled or user specific items.
- Click Finish
- The Source Control explorer will list all the newly added folders. Highlight all folders, right click
the solutionand select"Add"CheckSolutionin pending changes" - Team Explorer will change to
SourcedisplayControl" Selectcheck-in"Teamparameters. EnterFoundationaVersioncommentControl"like "Initial Checkin" and click"OK""Check In"- Source control will update to indicate that data is up to date.
Delete a TFS Project
- Log in to vibe via remote desktop
- Launch the TFS Admin Console
- Click Start
- Type "TFS"
- Select TFS Admin Console
- In the tree at right expand "Vibe" and "Application Tier"
- Select Team Project Collections
- In the lower pane select the "Team Projects" tab
- Select the desired project
- Click the "Delete" button on the right