First of all, vss must be version 6.0c or above to be used in the .net environment.
There is version 6.0d in the .net2003 installation disk, but not in the 6-disk version.
Installation of vss
Server side:
Find the installation file, run the setup program, and go all the way to next. It is super simple and needs no explanation.
Client:
Find the vss installation directory on the server. There is a vss subdirectory in it, which contains netsetup.exe.
Share the vss directory. , remember to share the vss directory. If you share the upper-level directory, network installation is not possible.
Then open the vss shared directory on the server on the client computer and run netsetup.exe. It is so simple that I won’t go into details.
configuration of vss
Create a directory on the server, such as PROJECT, as the root directory of the vss database. Create subdirectories for each project
so that the databases of each project do not interfere with each other. I am currently working on a website project. Take this as an example.
Assume this is For a learning website, create a Study subdirectory under the PROJECT directory,
create a user group Developer on the server, add all the developers of this project, Kevin, and Owen to this group, and
give the Study subdirectory - sharing permissions - to the Developer group Write permission.
On the server, start Visual SourceSafe 6.0 Admin, click the Create Database... menu item in the drop-down menu Tools,
click browse, select the Study subdirectory created above, create the project database here, and
click the drop-down menu Users/Open SourceSafe Database..., then select the database Study, open it,
click the drop-down menu Users/Add User..., add users kevin, owen, set the password,
at this point, the configuration of vss is completed.
.net development environment configuration
Start vs.net, create a new web project, http://localhost/Study,
right-click the project name Study in the solution manager on the right, click Add Solution to Source Code Management,
select the Study database created above, and log in with admin , a directory name will be given by default, just click OK to complete the addition.
It is necessary to note that the default path of the .net project is /My Documents/Visual Studio Projects/,
but after adding the project to the vss database, this location The files are all invalid,
so where are the files we want to operate? It is impossible to directly operate the vss database.
Open the iis manager, select the properties of the Study virtual directory, check the virtual path options, and
you can see the local location of the project Study The path is c:inetpubwwwrootStudy.
This is the local copy of the project Study. Any files created and modified in vs are in this directory.
For convenience, you can move this directory to the place you need,
or Before establishing the project, create the virtual directory of the Study project in iis.
There is one more thing to note.
Open the iss manager - view the properties of Study - Directory Security - Authentication and Access Control - Edit.
You can see that the default is used. Enable anonymous access, uncheck it, and check Integrate Windows Authentication below.