Multi project solution troubles

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

Moderator: SourceGear

Post Reply
JPrime
Posts: 18
Joined: Tue Dec 21, 2004 10:03 pm

Multi project solution troubles

Post by JPrime » Tue Dec 21, 2004 10:05 pm

We're demoing vault out w/ the purpose of buying it if it suits our needs, and I've run into some trouble. We have a solution w/ 3 web projects in it. I set it up on disk how I want it organized (web projects actually in their folders, not wwwroot) and added it to Vault via the VS.NET IDE. This worked ok, and I can use vault on my box fine. However, when trying to pull it down to another developer's machine, something gets screwed up, the IDE thinks that the web projects don't exist in SourceSafe, so I have to readd them, which I don't want (nor think I should have to) do...this has been a frustration of mine w/ VSS as well (the crappy handling of web projects), and I was hoping Vault would make this easier; are we doing something wrong? What steps should I take to pull down an existing solution onto another developer's machine?

Jonas

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Tue Dec 21, 2004 10:23 pm

Jonas:

On a "fresh" machine, you need to do a ONE-TIME retrieval so your machine's working folders are configured correctly.

On this machine ( where all the files are in the Vault repository ), go to the menu, and choose File->Source Control -> Open From Source Control. You should be prompted to log into Vault.

Go ahead and log in and use the repository hosting the project. Next, you will be asked to choose a folder in the repository which hosts the solution file. Choose the correct folder, and then make sure it maps to a correct location on local disk.

VS.Net should then retrieve the solution file, at which it will pull open an Open File dialog containing the solution. Highlight the solution, and choose OK. At this point, the project files will be retrieved next. If asked, tell the VS.Net / Vault IDE client where to find the project files. At this point, all files should be retrieved to disk.

---------------
Once you have retrieved the files in this manner, subsequent "opens" should be from the local solution file on disk.

HTH
Jeff Clausius
SourceGear

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Tue Dec 21, 2004 11:04 pm

Also, you might want to scan over our KB articles regarding Vault's integration with VS.Net -

Look at the section for Visual Studio IDE Integration in our Knowledge Base Index http://support.sourcegear.com/viewtopic.php?t=792
Jeff Clausius
SourceGear

JPrime
Posts: 18
Joined: Tue Dec 21, 2004 10:03 pm

Post by JPrime » Wed Dec 22, 2004 8:52 am

So I don't have to set up my virtual directories in IIS ahead of time? Vault will create the folders under my solution folder, not in wwwroot?

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Wed Dec 22, 2004 9:18 am

Sorry, no. VS.Net is doesn't care much for that set up, and will re-create the application/virtual directories under wwwroot.

There is a work around, but you have to manually move the directories out of wwwroot, go in to the Vault client and change / remove the working folders, remap the virtual directories, etc.

This is just a limitation of VS.Net and web projects.
Jeff Clausius
SourceGear

Post Reply