Here at the DevLab we are using the July CTP to test some stuff out. We ran into an interesting problem when you are using multiple Team Foundation Servers and switch between them. As it turns out, the list of projects from the first server keeps showing up, regardless of the server you are connecting to.
After some investigation, Marcel and I found out that this is due to a bug in the caching mechanism. In the folder “Documents and Settings
This file acts as a pointer to the Cached data for each of the servers and maps a server name to a subdirectory containing the cached data. Unfortunately, something goes wrong with generating a unique directory name (probably because the Guid was not instantiated in the correct way). Therefore al servers point to the same directory.
To make it work you can do the following: edit the Xml file to point to unique directory names and create the corresponding subdirectories. Make sure the subdirectories are empty.
Now restart Visual Studio and everything will work again as expected for the servers you have added to the mapping file.
2 comments
From this post i read that it is possible to have multiple team foundation servers to be used with Visual Studio – not in a farm, but hosting separate projects, am I correct?
Benny Skjold Tordrup
Yes you have have multiple servers. Each server can host multiple team projects. And a team project can consist of multiple visual studio solutions…
You can only be connected at one server at a time though, and within one server you have one “active” team project.
Raimondb