Automatically change the namespace when changing the folder file

4

I need to restructure the folders of a project, but there are many files and their namespaces need to be changed.

Is there any way to automatically change the namespace when moving a .cs file from one folder to another?

    
asked by anonymous 30.05.2014 / 22:17

1 answer

2

One way to do this in Visual Studio without external help is to do a simple find and replace , press the CTRL + Shift + H , will open the window shown below, now just replace namespace .

    
30.05.2014 / 22:39