Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Move type from one project to another via ReSharper?

Tags:

I have several interfaces and classes that I have in my business layer project and I want to move them into a brand new project. I am using ReSharper 4.5.2. Is there any way I can do that easily and with no pain? I know about the move type functionality, but it seems like it will only do it within the same project.

like image 928
Dan Appleyard Avatar asked Feb 25 '10 22:02

Dan Appleyard


1 Answers

You can just drag and drop the files in the solution window, then use ReSharper to automatically add the references and fix any namespace issues.

I've done it - it's not as 1-operation as the move type operation, but it's still very fast.


FYI - ReSharper 5.0 Beta 2 now supports this, directly, by right clicking on a file in the solution window, and choosing Refactor > Move.

like image 76
Reed Copsey Avatar answered Sep 28 '22 14:09

Reed Copsey