ModernRonin / ProjectRenamer

Conveniently rename your csproj files
Other
155 stars 14 forks source link

unexpected folder structure - at: value #21

Closed ghost closed 3 years ago

ghost commented 3 years ago

Current folder structure:

|--[csharp]
   |--csharp.sln
   |--[KombiN]
      |--KombiN.csproj
   |--[KombiN.Tests]
      |--KombiN.Tests.csproj

compare the "at:" value for below commands

[user@ws csharp]$ renameproject KombiN kombin
Please review the following settings:
Project:                   KombiN
found at:                  /home/user/libs/KombiN/csharp/KombiN\KombiN.csproj
Rename to:                 kombin
at:                        /home/user/libs/KombiN/kombin/kombin.csproj)
VS Solution folder:        none
exclude:                   
Paket in use:              no
Run paket install:         yes
Run build after rename:    no
Create automatic commit:   yes
Git version:               git version 2.29.2
[user@ws csharp]$ renameproject KombiN ./kombin
Please review the following settings:
Project:                   KombiN
found at:                  /home/user/libs/KombiN/csharp/KombiN\KombiN.csproj
Rename to:                 kombin
at:                        /home/user/libs/KombiN/csharp/kombin/kombin.csproj)
VS Solution folder:        none
exclude:                   
Paket in use:              no
Run paket install:         yes
Run build after rename:    no
Create automatic commit:   yes
Git version:               git version 2.29.2

my expectation here was that regardless of the folder structure, it will rename it were old one was found.

ModernRonin commented 3 years ago

Your expectation was correct, this seems to be a bug. I'm a bit under pressure with my bread-work right now, but I'll try to repro and then fix it this week.