vsrenamer_gui 1.1.5

.NET Core 3.1
dotnet tool install --global vsrenamer_gui --version 1.1.5
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local vsrenamer_gui --version 1.1.5
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=vsrenamer_gui&version=1.1.5
nuke :add-package vsrenamer_gui --version 1.1.5

Visual Studio Solution Renamer

Allows to rename a solution, its projects and namespaces.

Get started

dotnet tool install -g vsrenamer_gui
vsrenamer_gui.exe

Under the hood

Here is the list of actions to be done during the process of renaming

  • Rename .sln file
  • Rename .csproj files
  • Rename parent folder of the projects
  • Update their relative paths in the .sln file
  • Set proper AssemblyName and RootNamespace in the .csproj files
  • Replace text in files. By default, *.cs *.xaml *.xml *.json *.asax *.cshtml *.config *.js

Limitations

  • A single solution file only (.sln)
  • A single project (.csproj) per folder
  • C# projects only
  • No source version control history support

Be aware

  • No backup feature
  • No roll-back feature
  • No proper symlinks support
  • Tested with
    • Microsoft Visual Studio Solution File, Format Version 12.00
    • Visual Studio Version 16 (2019)
  • It's strongly recommended to perform renaming with the following two steps:
    1. Replace file content, review the changes and commit (svn, git, etc.)
    2. Rename files and folders

References

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp3.1
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.1.5 533 10/24/2020
1.1.4 353 10/18/2020
1.1.3 390 10/18/2020
1.1.2 366 10/15/2020
1.1.1 484 10/10/2020
1.1.0 335 10/4/2020

Initial version