Is there a way to select all classes within a folder and assign a namespace to each of them in visual studio?
If there is no tool to do it, is there a regex pattern that will match everything before the class declatarion, but after the imports?
Is there a way to select all classes within a folder and assign a namespace to each of them in visual studio?
If there is no tool to do it, is there a regex pattern that will match everything before the class declatarion, but after the imports?
Resharper has a feature of changing namespaces for files.
For a manual solution, you could:
namespace old
to namespace new