I suggest you ...

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.

2,829 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Martijn HoekstraMartijn Hoekstra shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    43 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Anonymous commented  ·   ·  Flag as inappropriate

        Voted +3. This basic issue has been around for years and doesn't sound like VS 2017 is fixing it either.

      • Anonymous commented  ·   ·  Flag as inappropriate

        Vous voyez, les raisons de la popularité de ce pays sont vetement enfant zara un style élégant et une conception de résultat, matériaux solides, des couleurs fraîches et bien établie, et de l'artisanat brillant. Mais vous ne voulez pas de se démarquer trop, juste un peu. zara soldes femme Exactement, robe saharienne zara est le symbole de l'élégance et de la mode. http://www.zara-femme.com/doudoune-zara-soldes
        En quoi consiste exactement beaucoup plus, vous ne pouvez pas trouver zara homme soldes ces magasins aux questions que vous n'êtes pas bien informé sur le web.

      • David KeanDavid Kean commented  ·   ·  Flag as inappropriate

        Hey, just to let you know we haven't forgotten about this. Right now, we're rewriting the existing 15 year old C#/VB "project system" over here https://github.com/dotnet/roslyn-project-system. This is a multi-release project but will set us up in the long term to easily tackle big features such as this one.

        For example, in the past few months, we've added wildcard support (*.cs) and the ability to edit the project file while it is loaded, as well as automatically "refresh" the project from disk without reloading. In the Visual Studio 2017 timeframe, this will be enabled for .NET Core-based projects but in a future update we'll enable it for all C# and VB projects.

        Head over to the Github site if you'd like to get involved in the community.

        Regards

        David Kean
        C#/VB Team

      • Greg St. Angelo IVGreg St. Angelo IV commented  ·   ·  Flag as inappropriate

        This was posted in 2012 and it is almost 2017. Please do this, it really should not take 5+ years for your flagship IDE to support proper project renaming.

      • Anonymous commented  ·   ·  Flag as inappropriate

        We have a tool that creates folders with read only names. Add to the fact the everything works fine when renamed outside the tool that creates this folder and the issue should be apparent.

        Can anyone guess what tool this is? I bet no one who has not run into this problem would guess its Microsoft's flagship development environment unless maybe I said the year was 1986.

        This is happening in 2016. This is a side effect when marketing gets too much power.

      ← Previous 1 3

      Feedback and Knowledge Base