Move file/class to another project

"Shift + Drag" in VS Solution Explorer allows you to move file(s). You can then use Resharper to fix the namespaces


With resharper: Right Click (on file in Solution Explorer) -> Refactor -> Move.

Edit by jgauffin:

  1. Put the cursor over your non-existant class in your test method and press ALT-ENTER
  2. Choose to create the class in the context menu
  3. Press END to move to the class name
  4. Press CTRL+SHIFT+R to bring up the Resharper Refactor menu
  5. Press key DOWN for "Move to folder" and then press ENTER
  6. Press TAB in the new dialog and then ENTER to show the Target tree view (below the combo box)
  7. Navigate with the arrow keys
  8. Press ENTER when done