CLI command to move a project while preserving references
- Dominant language
- C#
- Stars
- 3.2k
- Forks
- 1.3k
- PR merge metrics
- PR metrics pending
Description
### Is your feature request related to a problem? Please describe.
Moving a project (eg. MyLib/MyLib.csproj) to a different folder is quite painful:
1. Move the project to its new location
2. Make all `` elements relative to the new location
3. Update all `sln*` files to the new location
Or, more commonly, how most people would do it:
1. Remove the project from the solution via UI
2. Move the project folder
3. Add the project back to the solution via UI
4. Try to build...
5. crap it fails
6. witness 7000 compilation errors
7. give up
### Describe the solution you'd like
A CLI command along the lines of:
```shell
dotnet sln [] mv
```
This command should physically move the project and make `` elements relative to the `` in the moved project, as well as in other projects of the solution that reference it.
### Additional context
Ask away
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.