Why doesn't a checkout force a get latest on a project file?
-
Thursday, August 16, 2012 12:05 PM
I have a scenario.
2 developers are working on the same project. Both need to add new files to that project. The project is set in Team Explorer so that a get latest is done on a file when someone tries to change it, but multiple check-outs are not enabled.
So ...
Developer A adds their new files and checks in their changes. Without doing a separate 'Get Latest', Developer B then adds their new files and checks them in. This scenario is valid should Developer B not realise that other files have just been added to the project.
However, when Developer B adds their files, no Get Latest is done on the project file, so they don't have the new files added by Developer A. The files added by Developer A could then be lost (unless someone realises, does a Get Latest and then re-adds the new files).
My question is, why isn't the new project file downloaded, with the new files, when Developer B then changes the project file by adding their new files? Every other file in the solution is downloaded when it is changed, so why not a project file?
Any help or advice would be gratefully accepted.
All Replies
-
Friday, August 17, 2012 9:19 AMModerator
Hi AdcAdrian,
Thanks for your post!
Please make sure that the “Enable Get Latest on Check Out” box is cleared on both Team Project level and on Tools menu. If you enable either one, you may be forced to get latest version upon checking out.
For more information, please refer to http://social.msdn.microsoft.com/Forums/eu/tfsgeneral/thread/e2c61e8e-78dd-4e82-b516-86fa1b0b2361
Hope it helps!
Cathy Kong [MSFT]
MSDN Community Support | Feedback to us
- Marked As Answer by Cathy KongMicrosoft Contingent Staff, Moderator Monday, August 27, 2012 3:57 PM

