rename project folders and files
Create a way to rename a project folder. This is closely related to http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/2517011-enable-project-renaming- and http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/3054944-rename-the-project-folder-when-renaming-a-project
I would like a way where I can change a folder name and optionally filenames: Project -> right click -> rename folder and files... -> give a new name, select folder, output filename or both ->
* Visual Studio updates name of the the solutiondirectory
* Visual Studio updates the solution to point at the new directory
* Visual Studio updates references of other projects to this project to the new directory
* Visual Studio updates the project to reflect the new output file name
* Visual Studio cleans the old files from the output dir if present
Extra brownie points for optionally integrating this in the rename project functionality (update output file name and directory to NEWNAME? <yes> <no>)
Double extra brownie points for a 'search for references to this directory from other tools': text-based search for all files not in obj or bin dirs in all folders under the solution dir that contain the old filename, and ask if the old directory name should be replaced with the new one, or if you want to open the files and edit them manually.
Unless I've overlooked something, it seems almost impossible to rename a VS project once it is saved to the Projects folder.
I would love to see a renaming feature which renames the folders and project files, as well as amending any paths and names stored in the associated text and XML files.
I could also go for a clear message that says "this project is under SC, rename it in the SC explorer and than use 'get latest ' ".
really, just any solution that does not lead to opening and closing VS while praying nothing breaks.
Thanks, Eckard, I'll check it out.
Eckard Ahlers commented
I created a tool for that:
its little primitive: with explorer-Menu "Open With..." u must link solutionExplorer.Exe to .sln - extensions.
then u can optionally open each solution with solutionExplorer.Exe, which provide an renaming-Function.