views:

30

answers:

1

I didn't think too hard when initially naming my Visual Studio C++ project and now want to rename it. I'd love to avoid doing a replace all on the name of the project (and renaming all files in the project directory), because this would be error prone and tedious. Is there a way to rename the project within Visual Studio?

Thanks,

Eric

A: 

In Solution Explorer - right click your project, click on 'Rename'

EDIT - for refactoring there is limited support for Rename in VS2008. Otherwise you need something like Resharper.

Steve Townsend
I tried this, but it only renames the project; the new name doesn't propagate to the rest of the filenames, classnames, etc.
Eric Hendrickson
You want to refactor the project not rename it, then. See EDIT
Steve Townsend