visual studio 2005

This forum is now locked, since Gold Support is no longer offered.

Moderator: SourceGear

Locked
triplta
Posts: 11
Joined: Wed Nov 01, 2006 2:11 pm

visual studio 2005

Post by triplta » Wed Jan 24, 2007 8:15 am

I receive the belowmessage when trying to open a web project from source control. I followed the directions for adding the website to source control. Then removed the folder from the local drive. I then tried to open the project and got the below message. Really starting to get frustrating.


Message:
The project you have chosen cannot be correctly oopened from source control.
You are attempting to open a solution or project that was not added to source control using Microsoft Visual Studio. ......

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

Post by lbauer » Wed Jan 24, 2007 8:42 am

What version of Visual Studio are you using?

If you're using Visual Studio 2005, is this a website project, or did you install the patch that allows you to create a web application project?

Which direction did you follow for adding a website to source control?

What steps did you take to open the project from source control?
Linda Bauer
SourceGear
Technical Support Manager

triplta
Posts: 11
Joined: Wed Nov 01, 2006 2:11 pm

Post by triplta » Wed Jan 24, 2007 8:57 am

I am using Visual Studio 2005
this a website project


I do not know of a patch that allows you to create a web application project?




Which direction did you follow for adding a website to source control?
Answer:
Posted: Mon Jan 22, 2007 2:05 pm Post subject:
The proper way to put your project under source control is by using Visual Studio integration, not with the Vault GUI Client.

First, in Visual Studio 2005 under Tools->Options->Source Control, Choose Vault as the current source control plugin. (You may need to enable Vault as your default SCC provider in the Vault GUI Client under Tools->Options->General).

Then open your VS 2005 project from you local drive. In VS 2005, under File->Source Control, select Add Solution (or Website, if it's a Web Project) to Source Control. The project will be added to Vault and the proper bindings and source control files (such as .sln and .suo) will be created.

After this, you can just open the project normally on your machine.

If you or another user wants to retrieve the project from Vault do a different machine, you would use Visual Studio and the command File->Source Control->Open from Source control (or if it's a web project, use File->Open Web Site and choose the Source Control icone in the Open Web Site dialog.)



What steps did you take to open the project from source control?
File->Source Control->Open from Source control

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

Post by lbauer » Wed Jan 24, 2007 9:41 am

Since this is a web site, try this:
File->Open Web Site and choose the Source Control icon in the Open Web Site dialog
Linda Bauer
SourceGear
Technical Support Manager

triplta
Posts: 11
Joined: Wed Nov 01, 2006 2:11 pm

Post by triplta » Wed Jan 24, 2007 9:57 am

Since this is a web site, try this:
File->Open Web Site and choose the Source Control icon in the Open Web Site dialog


I tried this and the site is opened but is not checked out.

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

Post by lbauer » Wed Jan 24, 2007 3:58 pm

Opening the project doesn't automatically check it out. Can you right click on items in the Solution Explorer and choose "Checkout?"
Linda Bauer
SourceGear
Technical Support Manager

triplta
Posts: 11
Joined: Wed Nov 01, 2006 2:11 pm

Post by triplta » Wed Jan 24, 2007 3:59 pm

Yes

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

Post by lbauer » Wed Jan 24, 2007 4:07 pm

Does this resolve the problem you reported?
Linda Bauer
SourceGear
Technical Support Manager

triplta
Posts: 11
Joined: Wed Nov 01, 2006 2:11 pm

Post by triplta » Mon Jan 29, 2007 8:48 am

I started over again.

I had a project that did not exist in vault. I went to the FILE/Source Control and added the project. It did not add the solution file. I tried to add the soution file from the Change Source control menu and now it has red squiggle lines under the name and status of invalid.

Is there anyway for this sofware to work properly? It sure doesn't seem to be able to work as advertised.

I have followed all of the previous directions to no avail.

Help

Locked