I am working on a solution that contains bunch of projects. I am going to refactor the solution by merging some of the projects together.
Is there any tool or visual studio extension that helps me refactor my large solution by merging one or more projects into on project.
Of course this can be done manually but I am hoping for a more automated solution!
Try "Move to Folder" refactoring in ReSharper, it will deal with namespace and using directive changes that the merge implies.
If there are conflicts that prevent the move, ReSharper will let you know about them. Otherwise, the refactoring will be applied immediately.
P.S. I work at JetBrains
You can drag and drop items from one project to another.
Any namespace etc. changes you want will need to be done manually.
This will copy the files, and create as an add to any integrated VCS.
Another approach is to branch in VCS into the destination project and then use "add existing item" to add. This will (depending on your VCS) maintain history.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With