Resharper rename problem

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
jeff
Posts: 2
Joined: Fri Jul 27, 2007 11:16 am

Resharper rename problem

Post by jeff » Fri Jul 27, 2007 11:24 am

When I perform a resharper class rename it also renames (or maybe deletes then creates) the files as well. This results in a file with the new file name and "new" status and the old file name still appearing in vault as "missing". What is the easiest way to remove these "missing" files from vault?

Terence
Posts: 164
Joined: Thu Feb 02, 2006 2:43 pm
Location: SourceGear

Post by Terence » Fri Jul 27, 2007 12:26 pm

Go to the Vault project (folder) where the files are and sort by Status. This will group all of the missing files together for you. Then you can select them all at once and delete them.

jeff
Posts: 2
Joined: Fri Jul 27, 2007 11:16 am

Post by jeff » Fri Jul 27, 2007 4:02 pm

Is there a way to do this for all subfolders at one time? Otherwise I might just have to skip letting resharper rename the file for me. Not too big of a deal.

avonwyss
Posts: 99
Joined: Mon Oct 04, 2004 9:06 am

Post by avonwyss » Mon Jul 30, 2007 3:30 am

I advise you to skip the automatic file rename and rename the file by hand (in VS2003 you need to do this using both the Vault GUI client and VS). Otherwise you lose the file history.

Terence
Posts: 164
Joined: Thu Feb 02, 2006 2:43 pm
Location: SourceGear

Post by Terence » Mon Jul 30, 2007 11:06 am

jeff wrote:Is there a way to do this for all subfolders at one time? Otherwise I might just have to skip letting resharper rename the file for me. Not too big of a deal.
Select the project at the highest level in the Vault project tree. Go to the Search Pane and search for status of "Missing." This will show you all missing files, sorted by repository path.

Post Reply