To connect to TFS 2010 using VS2008, you need to install the below components in mentioned order. The Installation order is really important to make it work.
- Install Visual Studio 2008
- Install Team Explorer 2008
- Install Visual Studio 2008 SP1 (This will upgrade both VS2008 and Team Explorer 2008 to SP1)
- Install VSTS 2008 Forward Compatibility Update
As TFS2010 introduces the notion of Team Project Collections. After the installation is completed successfully, you should provide the entire URL to connect TFS2010 server.
You can express the connection string as follows:
http://<serverName>:<port>/<vdir>/<collectionName> (e.g. http://TfsServer:8080/Tfs/ProjectCollectionName)
The <vdir> is an optional path for the TFS web sites specified by the administrator during setup. By default it is “tfs”.