Previously with VSS, I have created solutions in VS.NET that contain both web projects and non-web projects. When the solution file is retrieved from VSS to a new machine and is opened in VS.NET, you are prompted where to created the web projects (default is http://localhost/Project) and are then they are automatically retrieved to C:\inetpub\wwwroot\Project while the non-web projects are retrieved under the solution's folder.
Is it possible to do this using Vault? It's kind of a pain to get the solution into one folder and then have to manually retrieve the web projects to the wwwroot...
Thanks!
-Kevin
ASP.NET Web Project?
Moderator: SourceGear
First, I'm using Vault 2.0.3 integrated with VS.NET 2003.
Here's what I just tried...
Thanks!
-Kevin
Here's what I just tried...
- Create a blank solution in VS.NET - saved to C:\src\Test
- Add a C# ASP.NET WebService to the solution at http://localhost/TestService
- Right-click on the solution and choose "Add Solution to Source Control".
- Received the "You are attempting to add some File Share Web access projects to source control" message. This time, I just clicked "Continue".
- I chose a folder in the "Add to Vault Folder" dialog for both the solution and the project when prompted.
- All source integration operations appear to work fine on the machine I used to do the add, so I moved to a new machine.
- On the new machine, I fired up the Vault client and retrieved only the solution file (*.sln) from Vault. I fetched it to C:\src\Test just like on the other computer.
- Upon opening the solution in VS.NET, I received the "solution appears to be under source control, but its binding information cannot be found. It is possible that the MSSCCPRJ.SCC file or another item that holds the source control settings for the solution, has been deleted" message.
- After clearing that error, I received the "Unable to open Web project" error. I tried both file share and FrontPage Extensions modes, but neither would work.
- At this point, I cleared out both machines and the Vault database and started over. When I reached step #4 above, I cancelled out and switched the TestService project settings' web access mode to FrontPage and attempted to add the solution to source control again. I still received the "File Share Web access" warning even though the project should not be using file share any more. <shrug>
- After following the remainder of the above steps a second time, I ended up with the very same result.
Thanks!
-Kevin