Shared projects and local folder structure?

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

Moderator: SourceGear

Post Reply
Brendon
Posts: 9
Joined: Mon Jan 11, 2010 8:44 pm

Shared projects and local folder structure?

Post by Brendon » Mon Jan 11, 2010 8:57 pm

We currently have the following folder setup

$> Projects
>Classlibrary1
>Classlibrary2
>WebApplication1

$> Solutions

This setup seems to work ok until I want to add a new project eg
$> Projects
>DataAccess
>ClassLibrary3

When I attempt to check this in via the visual studio ide vault complains that the folder DataAccess does not exist.
Is there a better way to set this up so that projects can be shared and local folder structure is duplicated in vault?

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Shared projects and local folder structure?

Post by Beth » Tue Jan 12, 2010 4:59 pm

In your solutions folder, under each solution does it have a share of the projects that belongs to it, or does every solution file point to a project that is outside of its parent folder?
Beth Kieler
SourceGear Technical Support

Brendon
Posts: 9
Joined: Mon Jan 11, 2010 8:44 pm

Re: Shared projects and local folder structure?

Post by Brendon » Tue Jan 12, 2010 5:14 pm

Each solution file points to the projects that make it up which are outside of its parent folder. There is nothing below the solutions folder, it only contains solution files.

eg solution1.sol in the solutions folder would point to webapplication1 and classlibrary1 which are in the projects folder.

thanks for your help. Most of this is just trying to figure out best practices around using vault.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Shared projects and local folder structure?

Post by Beth » Tue Jan 12, 2010 5:25 pm

The Enhanced Client FAQ may help here. What works best for most users is to have a solution level folder that then holds the solution and inside the solution folder is the project folder. You could use our share command to share copies of the project to the solutions that need to use them. As long as you have the projects outside the scope of the solution folder, you may run in to some issues.
Beth Kieler
SourceGear Technical Support

Post Reply