How to change Directory or Dir-Name when refactoring?


many projects use the convention that every single class should be residing in a directory which is called like the namespace of that class (similar to Java). However, In C# this is not technically enforced.

Now the question is: Is there a way to tell ReSharper to move files between directories when I perform a "Refactor/Move To" to a different namespace? When I rename classes it at least offers to also change the filename...but when I move classes, nothing happens regarding file structure...


Please sign in to leave a comment.