Rebind Projects support for vcxproj file type

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

Moderator: SourceGear

Post Reply
Steve Wageman
Posts: 5
Joined: Thu Oct 30, 2008 1:47 pm

Rebind Projects support for vcxproj file type

Post by Steve Wageman » Tue Dec 04, 2012 4:07 pm

Rebind Projects says it supports Visual Studio 2010 yet it doesn't list vcxproj files (Visual Studio C++ project file). Tried running it against them anyway and it does not rebind them. It also generates an error on .sln files that contain .vcxproj files in it.

We are moving Vault to a new server and have to change the server name which means we need to rebind all the projects to the new server. Was hoping to avoid hving to a few hundred of these manually.

Any plans to support .vcxproj files?

BTW, am running version 6.1.0.531.

Thanks in Advance,
Steve

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

Re: Rebind Projects support for vcxproj file type

Post by lbauer » Wed Dec 05, 2012 1:45 pm

Any plans to support .vcxproj files?
I can log a feature request for this.

In the mean time, you may be able to rebind the projects by doing a search and replace for the Vault server URL in the .sln and .vcxproj files, and change the server name/IP address. That's basically what the Rebind Projects in the Vault Admin Web Client does.

This is what the file entries look like:

Solution file:

GlobalSection(VaultVsipSolution-v1) = preSolution
VaultHost = http://myvaultserver.domain.com/VaultService
VaultRepositoryID = 2
VaultRepositoryGUID = 5da6de64-42e5-46ec-957d-935ea630721a
ProjectCount = 1
ProjectRelativeDiskPath1 = CPlusVS2010Project\CPlusVS2010Project.vcxproj
EndGlobalSection

Proj file:

<PropertyGroup Label="Globals">
<ProjectGuid>{8AEBB133-5819-4E39-89CF-E3855F92FB0E}</ProjectGuid>
<RootNamespace>CPlusVS2010Project</RootNamespace>
<Keyword>MFCActiveXProj</Keyword>
<SccProjectName>CPlusVS2010Project</SccProjectName>
<SccAuxPath>http://myvaultserver.domain.com/VaultSe ... SccAuxPath>
<SccLocalPath>2~5da6de64-42e5-46ec-957d-935ea630721a</SccLocalPath>
<SccProvider>SourceGear Vault Visual Studio 2005 Client:{7BE9CE03-56BF-4682-9C06-78C68B134B30}</SccProvider>
</PropertyGroup>
Linda Bauer
SourceGear
Technical Support Manager

Post Reply