.sln file in VSS

M

Mark

Where do you typically store the .sln solution file when using VSS on a
team? By default, the .sln file is stored in my My Documents folder, inside
a VS.NET folder, etc. I am aware that you can change the default location
of the .sln files for VS.NET.

What's the ideal setup? Should I setup a VS.NET project, its files, and the
solution (.sln) to ALL reside in the same folder? Or leave the .sln files
where they are? I'm assuming if I leave them in the My Documents folder,
that everyone on the team will need to mimic this setup. The fact that you
should have similar folder setups with your team was pushing me to consider
putting everything in one place.

Thanks in advance!

Mark
 
W

William Ryan

Mark:

Everyone can store a copy locally, in fact I think you have to. If someone
checks out the entire solution, then no one can add to it until it's checked
back in, but people can still get latest version and all that good stuff.
 
M

Mark

So, should the .sln file be located in a separate folder from the rest of
the project files (.aspx, etc), or should they logically be placed in the
same folder?

Thanks!

Mark
 
N

Neno Loje [MSP]

Hi Mark,

in our company the "best practises" are to create a folder for the solution
(including the .sln file) and subfolders for each project contained in the
solution (with the .csproj and .cs files). If you use references to other
projects on your computer i would recommend that every VSS user has the same
local folder structure (which corresponds to the logical folder structure in
VSS). For example you could define that all solutions have to be stored
under C:\Project.

The result looks as follows:

C:\Project
\Solution1
\Solution2
\Solution3
\Solution3.sln
\Project1
\Project2
\...
\...

Hope it helps,

Neno Loje
Microsoft Student Partner
University of Hamburg
 

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