CodeAttest
VSTS, Oslo, INETA, ASP.NET, Debugging .NET Applications, Tips and Tricks

February 08, 2008

Get latest does not work in TFS

Get Latest Version may not work properly in some circumstances with TFS 2008. I recently found how to reproduce this strange problem that I was experiencing from some time. It happens that if you have already set up a working project on your machine (after you have resolved possible problems with Web Application Projects in the initial project setup), the project may fail to update when you ask to Get Latest Version even using Get Specific Version option is on. The reason for that may be a newly added project to your solution. When someone adds a new project to your solution VS2008 automatically creates a new mapping for this project. So if your workspace mapping before the update is like $\MyProject - > c:\projects\MyProject, when you as for the get latest version you will find that VS has created additional mapping for the new project like $\MyProject\NewProject -> c:\projects\MyProject\NewProject. After that point, for reasons that I am not aware of, get latest version does not work any more. To solve this problem you have to open the Source Control panel from Team Explorer and in the workspace dialog box to edit workspace mappings and delete this new entry.

If you do not edit workspace mappings you will most probably get this error:

---------------------------
Microsoft Visual Studio
---------------------------
Source Control Explorer

All files are up to date.

No files were updated because the requested file versions were previously downloaded.

To force an update, use the "Get Specific Version" command with the "Overwrite all..." option checked.
---------------------------
OK  
---------------------------

Labels: ,


# posted by Martin Kulov @ 4:55 AM




This page is powered by Blogger. Isn't yours?

 




Calendar Martin Kulov's Calendar   RSS Aggregate this blog

DevReach - The Premier Conference for Microsoft Technologies for SEE

Mobility Day 2008 Conference

DevReach - The Premier Conference for Microsoft Technologies in Bulgaria

International Association of Software Architects

SofiaDev .NET User Group

Microsoft Most Valuable Professional

View Martin Kulov's profile on LinkedIn

MSDN Event Bloggers




Recent posts




History




 
Copyright © 2004-2008 CodeAttest Ltd. All Rights Reserved.