TFS and Visual Studio Project Folder Rename Operations

First off, I’ll give TFS the benefit of the doubt and admit that folder rename operations in a large project are probably not that common but in small environments renaming folders and re-organizing content during the first stage of the project are pretty common, at least for me. The downside to this is if your using TFS, things can get pretty nasty pretty quickly. My latest run-in with the reality show “TFS Attacks” cost me more frustration and wasted time undo’ing rename changes, unlocking files in TFS (using TFS SideKicks again) and kicking and screaming ;) The key to renaming and moving folders in a VS project under TFS control is check-in, rename or move, check-in, rename or move, check-in… Don’t try to perform multiple operations like create a folder, add a file, rename the folder and then try checking everything in unless you want to revisit the following dialog:

 

Apparently the folks in Microsoft’s Team Foundation Server group hold rename operations with a certain level of disdain or maybe its just the indecisiveness of renaming, isn’t your first attempt always perfect?

written by

The author didn‘t add any Information to his profile yet.

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>