Adding solution to VSS...

G

Guest

When adding my VB .NET solution (with two sub-projects) the folder structure
in VSS gets an extra level of folders...

For example, here's the structure of the solution on my C:\
....\mySolution\mySolution.sln
....\mySolution\myProject1\myProject1.vbproj
-- and --
....\mySolution\myProject2\myProject2.vbproj

But after adding the solution to VSS the structure looks like this:
$\mySolution.root\mySolution\myProject1\myProject1.vbproj
^^^^^^^^^^
-- and --
$\mySolution.root\mySolution\myProject2\myProject2.vbproj
^^^^^^^^^^

What's with the extra mySolution.root folder level structure in VSS? This
only seems to make adding/getting projects from VSS more confusing. If anyone
can explain this ior point me to some literature that explains this I'd be
very happy....

Charles
 
B

Brendan Green

Yeah, that annoys me too.

What I've found to work better (for me, at least) is to:
1. Create the solution first (empty, with no projects).
2. Select the solution and add it to source control.
3. Select the root folder from where I want the project to be created for my
solution, and clear the "Mysolution.root" text.
4. This creates the base solution project folder in VSS nicely for me.
5. I then add projects to the solution, and they automatically go under the
solution folder in VSS.

I think the key is to NOT project a name for the project when adding to VSS.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top