Problem with checking in file in Visual Studio 2008

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

Moderator: SourceGear

Post Reply
egarrison
Posts: 2
Joined: Fri Sep 10, 2010 3:56 pm

Problem with checking in file in Visual Studio 2008

Post by egarrison » Mon Sep 13, 2010 1:27 pm

Whenever I make a change to a file through Visual Studio and try to check it back in, I get the following error from Vault: Item $/filepath caused the transaction to fail: You must merge your working copy with the newest version before Check In can succeed.

I do have the latest version and no one else has this file checked out. I have deleted the shadow files that can sometimes cause problems with Vault. I also unbound my project from Vault and rebound it and it did nothing. I am only getting this error with one file so I don't think it is a problem with project.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Problem with checking in file in Visual Studio 2008

Post by Beth » Mon Sep 13, 2010 1:36 pm

You will want to open your Vault GUI client and perform a show merge on the file. What the Needs Merge indicates is that the baseline that you were working from wasn't the current version. Once you have the merge resolved, you will be able to check it in. You may find it better to close your project in Visual Studio while you are merging.

Another possible away around this is to perform a Get with the Automatic Merge options. If Vault is able to merge it, then it will take care of that. If it can't, then there's a conflict and you will need to perform the manual merge I mentioned in the first paragraph.
Beth Kieler
SourceGear Technical Support

Post Reply