Visual Studio: Tools to rename projects (and directories) automatically
Asked Answered
E

3

7

Similar questions have been asked many times in SO. But most answers suggested to do it manually, which is very time consuming.

Any free tools that can rename projects (and directories) automatically?

Filip Premanad Rydlo mentioned Visual Studio Project Renamer, but it has not been updated since 2001.

This tool can rename Visual C++ Projects. But my projects are mostly C#.

CopyWiz can Rename an existing project; Fix up directories and filenames in your projects, but it's costs 39 USD.

Similar questions:

Ehr answered 27/5, 2011 at 2:49 Comment(0)
C
1

Please add the Visual Studio Project Renamer to the list.It is not the same, you have mentioned. But as you said, that project is not updated since ages. Also, it runs only from the comand line. That got me to write a gui version, which basicly lets you rename projects directly from a gui. For now the tool supports Subversion (I will add support for GIT,HG and TFS soon).

Please check this page for more information.

Cromorne answered 15/2, 2012 at 22:47 Comment(1)
Was for a week sorry for that. Its back up now.Cromorne
W
0

Personally I hate to "jump on the bandwagon", but I've found that creating my own little utility for this was the best route. There are so many intricacies with a rename and project types.

I know it isn't the best thing, but overall it took me 20 minutes to write the utility and have been using it ever since.

Wayland answered 27/5, 2011 at 16:0 Comment(1)
VS 2017 seems to handle the renames ok nowWayland
J
0

In case anyone comes here looking for a solution:

I wrote an open-source cmdline utility that also deals with renaming in git so the history is not lost, moving to different directories etc.

Install via dotnet tool install -g ModernRonin.ProjectRenamer, see https://github.com/ModernRonin/ProjectRenamer for documentation.

Jeannajeanne answered 16/12, 2020 at 13:44 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.