Checkouts missing from Visual Studio "Vault Pending Changes"

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

Moderator: SourceGear

Post Reply
davenovak
Posts: 222
Joined: Mon Jan 15, 2007 2:15 pm
Location: Atlanta, GA

Checkouts missing from Visual Studio "Vault Pending Changes"

Post by davenovak » Tue Mar 06, 2012 9:58 am

We are using Vault 5.1.2 and both Visual Studio 2008 and Visual Studio 2010 along with the SourceGear Vault Standard Visual Studio Enhanced Client. The problem we're seeing is that, with one project in particular, files get checked out automatically when changes are made (as expected) but then never show up in the "Vault Pending Changes" window within Visual Studio. As a result, to check in files belonging to this project, I have to use the Vault Client, which is aware that these files are checked out.

From what I can make of it, the problem seems to be that the files in question are in a different root directory than the project file that owns them. Here's what the directory layout looks like:
  • 1. CryENGINE3\Code\Game\LichdomGame\CryGameScripts.vcxproj (location of project in question)
    2. CryENGINE3\Lichdom (root location for files in the above project)
Is this a bug or the expected behavior? It is certainly inconvenient to have to go back to the Vault Client in order to check in any files belonging to this scripts directory.

I'm attaching the project file in question for your review. Any information you have would be appreciated.

Thanks.
Attachments
CryGameScripts.zip
(13.32 KiB) Downloaded 302 times

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

Re: Checkouts missing from Visual Studio "Vault Pending Chan

Post by Beth » Tue Mar 06, 2012 2:29 pm

I will try to reproduce what you are seeing.

Is your .sln file bound?

Are items bound to CryEngine3 or are they bound to lower levels?

Where is the .sln file located in relation to the other projects and files?
Beth Kieler
SourceGear Technical Support

davenovak
Posts: 222
Joined: Mon Jan 15, 2007 2:15 pm
Location: Atlanta, GA

Re: Checkouts missing from Visual Studio "Vault Pending Chan

Post by davenovak » Tue Mar 06, 2012 3:01 pm

The solution is bound as are all other projects. The solution is located under: CryENGINE3\Code\Solutions. All other projects are elsewhere under CryENGINE3\Code

I've attached the solution file for your review.
Attachments
CryEngine_VS10.zip
(8.41 KiB) Downloaded 292 times

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

Re: Checkouts missing from Visual Studio "Vault Pending Chan

Post by Beth » Wed Mar 07, 2012 2:41 pm

Rather than doing a straight add file to a project, try using the Add As Link option that is in the drop-down on the add options.
Beth Kieler
SourceGear Technical Support

davenovak
Posts: 222
Joined: Mon Jan 15, 2007 2:15 pm
Location: Atlanta, GA

Re: Checkouts missing from Visual Studio "Vault Pending Chan

Post by davenovak » Thu Mar 08, 2012 7:04 am

I'm sorry, but I'm not seeing that option at all. If you can tell me how the project file itself would differ with that change, I can update the project manually with this change for testing purposes.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Checkouts missing from Visual Studio "Vault Pending Chan

Post by lbauer » Thu Mar 08, 2012 10:33 am

Sorry, this we investigated further and found that Visual C++ projects support only links, so all of the items in these projects are links. The project does not attach a link indicator (a small arrow) to the item icon in Solution Explorer.

I'll need to consult with our developers for other suggestions.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply