CodeAttest
CodeAttest, Software testing, Quality assurance, Web Service Enhancements, VS Team System, Indigo, upcoming releases from Microsoft and anything else I find interesting to be shared.

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?

 




RSS Aggregate this blog


Communities to Communities 2008

DevReach - The Premier Conference for Microsoft Technologies in Bulgaria



Bulgarian Association of Software Developers

SofiaDev .NET User Group

International Association of Software Architects



Microsoft Most Valuable Professional

Microsoft Certified Trainer

Microsoft Certified Professional Developer

Microsoft Certified Technology Specialist

Microsoft Certified Solution Developer

Microsoft Certified Application Developer

View Martin Kulov's profile on LinkedIn



Recent posts




History




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