Opening Web Projects
Moderator: SourceGear
Opening Web Projects
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!
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.
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.
Opening Web Projects
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.
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.