Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How Can I Connect Visual Studio 2008 to Team Foundation Service and Visual Studio Online?

Tags:

I've made sure that I have all of the prerequisites covered, then tried to install the patch from here:

  • Visual Studio 2008 SP1 Compatibility GDR for Visual Studio 2012 Team Foundation Server and Team Foundation Service Preview

When I do so, I end up with this message:

enter image description here

OK - so, believing that perhaps I have already installed software which covers the update I try to add my TFS preview server to Visual Studio 2008 Team Explorer (with settings that match what I have in VS 2012):

enter image description here

This tries to connect for maybe 30 - 60 seconds and then quits with this error message:

enter image description here

What am I doing wrong? From reading other blog posts it appears that Team Foundation Service is supported in both VS 2010 and VS 2008.

like image 228
Yuck Avatar asked Jan 25 '13 01:01

Yuck


People also ask

How does Visual Studio Connect to Team Foundation Server?

From the Visual Studio Tools menu, select Options, then select Source Control > Plug-in Selection. Select Visual Studio Team Foundation Server. For Visual Studio Team Foundation Server, enter the name and port number for the Azure DevOps Proxy Server. Select Use SSL encryption (https) to connect.

Is Team Foundation Server part of Visual Studio?

On September 10, 2018, Microsoft renamed Visual Studio Team Services (VSTS) to Azure DevOps Services. With Azure DevOps Server 2019, Microsoft is renaming Visual Studio Team Foundation Server to Azure DevOps Server.


1 Answers

Visual Studio 2010 introduced the concept of a Project Collection, so the hierarchy looks like:

Server - Project Collection A - Project A
                              - Project B
       - Project Collection B - Project C
                              - Project D
                              - Project E

In TFS 2005 and 2008 the Project Collection didn't exist, so the hierarchy looked like this:

Server - Project A
       - Project B
       - Project C

Due to this change you need to point Visual Studio 2008 and 2005 to a project collection and not to the server. They think each ProjectCollection is its own server.

So, when connecting from an old version of Visual Studio to a 2010 or newer version of TFS, you need to use the projectcollection uri in the connect to server window, something along these lines:

https://yourtfsname.visualstudio.com/DefaultCollection/ http://yourtfsname.yourdomain.com:8080/tfs/DefaultCollection/

In order for Visual Studio 2005 or 2008 to connect, you also need to ensure that the proper forward compatibility patches are installed. This blog post covers all versions of Visual Studio and Team Foundation server and lists exactly which patches you need to install and in which order to install them (order is important!).

The version of Visual Studio, TFS and Windows influence the exact set of files to install, they're all listed in the blogpost mentioned.

like image 170
jessehouwing Avatar answered Sep 30 '22 05:09

jessehouwing