Changing folder names in Visual Studio when using SVN

Posted by Piers Myers on Stack Overflow See other posts from Stack Overflow or by Piers Myers
Published on 2010-05-16T21:51:54Z Indexed on 2010/05/16 22:00 UTC
Read the original article Hit count: 268

Filed under:
|
|
|
|

I am using VS2008/VS2010 with Resharper 5, TortoiseSVN 1.6.8.19260-x64, and AnkhSVN 2.1.8420.8. Most operations I do in Visual Studio are reflected fine in SVN, however, renaming folders in a project can cause problems when I try to submit my changes. Also all the namespaces in the C# source files under the renamed folder need to be updated to reflect the name change.

What is the best way to rename the main project folder or any sub folders and ensure there are no issues with SVN? Should it be done outside Visual Studio?

What is the best way to update all the namespace changes? Is search/replace the only way?

Are there any best practices regarding folder names and their contents?

© Stack Overflow or respective owner

Related posts about svn

Related posts about tortoisesvn