Opening Web Projects

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

Moderator: SourceGear

Post Reply
jasonkolb
Posts: 2
Joined: Thu Jun 17, 2004 3:24 pm

Opening Web Projects

Post by jasonkolb » Thu Jul 08, 2004 8:32 am

What is the proper procedure for opening a Web project and working with it on a local development machine? For example, if another developer adds a solution or project to Vault from VS2003, how can I pull it down to my machine? I would assume that the working directory should be in wwwroot? When I select the folder that the project and solution are in, VS2003 can't find any project or solution files. Help!

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Thu Jul 08, 2004 10:08 am

From Visual Studio, invoke Open From Source Control. For web projects, you are asked for 2 working folders - one for the web project (which is usually under wwwroot, but doesn't need to be), and another for other non-web-project files (such as the solution file, if it is in another folder).

You can experiment with it by opening it up a few times with a different working folders to see how it works. You'll want to delete any working folders that you don't end up using, as well as any IIS virtual folders that get created as a result of opening the project from source control.

jasonkolb
Posts: 2
Joined: Thu Jun 17, 2004 3:24 pm

Opening Web Projects

Post by jasonkolb » Mon Jul 12, 2004 9:32 am

In this scenario, will Vault/VS automatically create a Web project? I can't seem to get that working...
dan wrote:From Visual Studio, invoke Open From Source Control. For web projects, you are asked for 2 working folders - one for the web project (which is usually under wwwroot, but doesn't need to be), and another for other non-web-project files (such as the solution file, if it is in another folder).

You can experiment with it by opening it up a few times with a different working folders to see how it works. You'll want to delete any working folders that you don't end up using, as well as any IIS virtual folders that get created as a result of opening the project from source control.

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Mon Jul 12, 2004 10:10 am

If your project is already a web project, Visual Studio is supposed to create the IIS virtual folder for you. If you are wanting to create a new web project from within VS, you'd do something like New->Project, and then pick a web project. I don't know if you can convert an existing project to a web project with VS.

Post Reply