views:

577

answers:

2

Hi, I'm currently writing a little cmd line app that will take an entire visual studio solution, copy it to a new folder and change the namespaces of all the projects.

Looks like its going to take some regex magic to get this working properly (and quite a bit of effort).

Am I reinventing the wheel? - is there anything in visual studio or anywhere else that will do this for me?

Thanks in advance!

A: 

I use Search and Replace when I need to change namespace of an entire solution, and to move to another directory... I just delete the project and open it again from source control in a different directory (if you don't use a SCM tool, just copy the root of the project and whatever beneath it to the new location)

all paths should be relative to the root.

Dani
A: 

Refactor->rename doesn't work? It won't move it to a new directory but will find all references and change them.

nportelli