Visual Studio 2008 Porject Upgrade Failure

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

Moderator: SourceGear

Post Reply
jkonline
Posts: 33
Joined: Mon Mar 23, 2009 7:03 am

Visual Studio 2008 Porject Upgrade Failure

Post by jkonline » Wed Nov 11, 2009 6:04 am

We are running VS2008 side by side with 2005 on WIndows XP. 2005 was installed before the Client while 2008 was after.

I wish to upgrade some of the projects to use the 2008 IDE however when I open the project I get the following message:

---------------------------
Microsoft Visual Studio
---------------------------
The project '[project name]' is under source control. An error occurred registering this project with source control. It is recommended that you do not make any changes to this project.
---------------------------
OK
---------------------------

Also for new projects the option for the enhanced client is not shown.

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

Re: Visual Studio 2008 Porject Upgrade Failure

Post by Beth » Wed Nov 11, 2009 10:18 am

In order for VS 2008 to see Vault, it needs to be installed after the Vault client. What you will need to do is uninstall your Vault client and reinstall it.

Then, to convert a project from VS 2005 to VS 2008, you will want to open the project in VS 2005 and unbind it from Vault. Go to File - Vault Source Control - Change Vault bindings, select all lines in the window and click Unbind. Then click OK and close Visual Studio. If it prompts to save, then save your changes. Next open the solution file from disk in VS 2008. Go to Tools - Options - Source Control and set it to use the Enhanced Client. Then go to File - Vault Source Control - Change Vault bindings. Start with the line that lists the solution file. Select that line and click Bind. You will be walked through selecting the folder in Vault to bind to. Do the same for each line. Once all the projects say their binding is valid, click OK and check in any changes. Once you check in the changes, other users will be able to just open VS 2008 and perform an Open From Vault to open the converted solution.
Beth Kieler
SourceGear Technical Support

jkonline
Posts: 33
Joined: Mon Mar 23, 2009 7:03 am

Re: Visual Studio 2008 Porject Upgrade Failure

Post by jkonline » Wed Nov 11, 2009 10:19 am

Clicking repair on the vault installation worked.

Thank you

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

Re: Visual Studio 2008 Porject Upgrade Failure

Post by Beth » Wed Nov 11, 2009 11:44 am

Thank you for the update.
Beth Kieler
SourceGear Technical Support

Post Reply