Take the 2-minute tour ×

I'm reorganizing my project in visual studio. I have some .cpp/.h files which I want to move into a subdirectory physically. A would like to have the following acts simultaneously:

  • File moving on file system
  • SVN working copy database updating (with keeping history)
  • Visual Studio project file(s) updating

Extra benefits would be nice, like:

  • Updating of #include directives referring to the file.

Are there any solutions? Best workarounds?

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

This is the proverbial chicken-and-egg dilemma for software developers:

  • Do you move/rename your files in Visual Studio first then go back to Windows Explorer and correct all the adds/deletes that should really be renames/moves?
  • Or do you rename/move your files in Windows Explorer then go clean up all the introduced compilation errors in Visual Studio?

You already have the solution at hand! Without AnkhSVN if you do your file operations in Visual Studio you already get two of your requirements: updating your VS project and file system synchronization. With AnkhSVN installed, though, you also get your 3rd requirement: it makes the necessary SVN synchronizations as well. All you have left to do is a commit.

share|improve this answer
add comment

I found the following description from a cached page in a Google search:



Hope this helps.

share|improve this answer
add comment

Your Answer


