Thursday, August 21, 2008

Connect Visual Studio 2005 with Team Foundation Server 2008

Trying Team Foundation Server 2008, i found the need to use projects created on Visual Studio 2005 with TFS 2008, but i found a problem.

Attempting to create a Team Project, i get an error with the following message:

Plugin error text: "The language id specified in the process template does not exist on the WSS server"

Searching on the web, i found the solution and how can i configure Visual Studio 2005 to work with TFS 2008, just follow the next:

1. We need use the TFS Client for VS 2005, it's the Team Explorer 2005, download from here: Team Explorer 2005

2. The problem bellow is when VS and the Team Explorer try to create the site in SharePoint 3.0, but VS 2005 works with SharePoint 2.0, on this point, if you take a look to the path \Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies and look the version of the file Microsoft.VisualStudio.TeamFoundation.TeamExplorer.dll, this need to be at least the version 8.0.50727.804, so we need to install (or reinstall) the VS 2005 Service Pack 1, this install the Team Explorer 2005 SP 1 too.
After installed, check if the version of the library is 8.0.50727.804.

3. The last step is install a hotfix for Visual Studio 2005, with it, VS 2005 can comunicate with Sharepoint 3.0, the hotfix is VS80sp1-KB932544-X86-ENU.exe



Remember, you can't install the hotfix without installing VS SP1 and when you install the Team Explorer 2005, you need to reinstall the VS SP1, that's the reason why you need to install VS SP1 after Team Explorer and not only the hotfix.

That's All

No comments: