Closed jeffward01 closed 1 year ago
this is per design - see the readme:
This tool takes care of this for you, provided your use-case follows a set of fairly common practices: [...] your csproj files have the same name as the folder in which they reside together with accompanying source code
that being said, one could add an option that tells renamer to not expect said convention - I'm open for a PR :-)
I have a directory structure of this:
targetDirectory/mySolution.sln
targetDirectory/LibMain/lib/MyProject.RemoveThis.csproj
When I perform the project rename command:
It completes successfully... However the issue is that it also renames the parent directory:
targetDirectory/LibMain/MyProject/MyProject.csproj
The
lib
parent directory is changed to the name of the project, which in this case isMyProject
Current:
targetDirectory/LibMain/lib/MyProject.RemoveThis.csproj
targetDirectory/LibMain/MyProject/MyProject.csproj
Expected:
targetDirectory/LibMain/lib/MyProject.RemoveThis.csproj
targetDirectory/LibMain/lib/MyProject.csproj
Thanks