VSS implementation of some usage methods of version control management

zhaozj2021-02-16  48

Initial storage

method one:

Step 1: Connect to VS.NET to the source VSS library entered to the VSS controlled center library, create a local path to the Source VSS library, if the project is a web project, you will also create a web A local path corresponding to the virtual path, this path is used to store the web project file; create the above two directories, will see the solution in the VSS library in VS.NET, at this time Compile, see if there is any problem in the solution in the VSS source library, if compiled is successful, enter our second step;

Step 2: Under the "File" menu of VS.NET, open "Source Management" -> "Change Source Code Management", click "Cancel Bind" in the dialog that appears, this is to make The solution is separated from the VSS server and turns into a pure local file; then perform the second compilation, compile, close VS.NET, open the resource manager, enter the third step;

Step 3: Find the two directories created in the resource manager, at which time all project files and web engineering files under the VSS library are already available in the directory, and we need to delete which from the source VSS library Some files, use file searches, find VSS and SCC files in these two directory, find all of them all deleted, and then enter the fourth step;

Step 4: Open the VS.NET, open the solution file in the directory we created, then we will see this solution is running under the relationship with any VSS library, run our third compilation, if Compile, right-click solution, select "Add Solution to Source Management" in the pop-up menu, which will appear to add a solution to the source code management dialog, enter the project name, click "OK", now we What to do is quietly waiting for VS.NET to add our project and project files we take from the source VSS library to our own VSS controlled center library; after adding, enter the fifth step;

Step 5: Turn off the VS.NET solution. Under the File menu, open "Source Management" -> "From Source Management Management", connect to our VSS Control Center, open the just added project Solution, after opening, if you have a prompt to find a reference file, you need to right-click item in the Solution Explorer, add the reference path of the project in the Properties dialog box, and then make our fourth compile, If you compile, you can pack the project file through the replication item under the Project menu. This package can be used as a tester to test the executable package, and then enter the sixth step;

Step 6: Check in the solution and project file at this time, turn off the solution after check in, turn off the vs.net, then open the VSS Explorer, right key VSS Explorer, and select the "Label" menu, this When entering the version of the project and comment information, click "OK", initialize the VSS controlled center library declaration completed, and later maintenance and upgrade.

Method Two:

Description: With the introduction of the former method, there should be a basic process and basic idea using VSS to use VSS. In accordance with the same truth of the former method, this method can also be carried out in the following steps.

Step 1: Open VSS Explorer, connect to the source VSS library, then right-click the root directory in the VSS Explorer left window, select "Get Latest Version ...", get the project file and put it in a specified directory, turn off VSS Explorer , Enter the second step; Step 2: Open the resource manager, find the file directory specified in the first step, find all VSS and SCC files from the directory, find these files, then enter the third step;

Step 3: Open VSS Explorer, connect to our own VSS controlled center library, create a project under this library, the project name is determined by the actual development project and naming rules, after the project is created, enter the fourth step;

Step 4: Select the project you just created, click "Add Files ..." under the "File" menu, add all the project files that have been modified in the second step in the second step to the VSS Explorer project in the second step. After the addition is added, enter the fifth step;

Step 5: Open vs.net, connect to the VSS controlled center library, open the solution in the project we just created, and you need to create a VS.NET solution and web engineering file with the method, complete After loading the solution in the VSS controlled center library, enter the sixth step;

Step 6: Run the first compilation, if you compile, click "Copy Project" under the "Project" menu of VS.NET, package the solution, this package is distributed to the test person, then enter the seventh step ;

Step 7: Check the VSS library solution and all project files in VS.NET. If you compile, check into the VSS controlled center library, check the vs.net, turn on VSS Explorer, right click we created Project, select "Label", set the version information and comments of the item, the initial entry step of this method is finished.

Subsequent versions:

method one:

Step 1: Open vs.net, connect to our VSS controlled center library, open the project solution specified in the VSS Controlled Center library, open the project file directory created when you check all files to open after check out the solution and Web Project Specify directory, enter the second step;

Step 2: Reclusion A VS.NET, from the File menu -> Source Management -> "Open from Source Code", connect to the subsequent version VSS source library, open the solution in subsequent VSS source libraries Solution, after opening, check out all files created in subsequent version solutions to open, the project file directory and web project you created, you want to ensure that the directory created in this step is not the same directory in the first step, and then enter Three steps;

Step 3: Copy all item files in the second step in the second step to the directory created in the first step and replace all item files in the directory created in the first step, enter the fourth step;

Step 4: At this time, you need to check the correctness of the solution at this time under VS.NET, including the reference path of the project file, etc., run compilation, if compiled, you will check in our solution to us. After the VSS controlled center library, after the check-in is completed, close the vs.net, enter the fifth step;

Step 5: Open VSS Explorer, right-click project, select "Label", reset the version information and annotations of the item at this time, click "OK", and subsequent joins are completed. Method Two:

Step 1: Use VSS Explorer to connect to the control center, Checkout To join the last version of the new version of the VSS control library to a specified working directory, enter the second step;

Step 2: Use the VSS Explorer to connect to the new version of the VSS source library, get all the project files to a specified directory, then enter the third step;

Step 3: Copy the second step in specify all item files in the directory to the directory of the first step and overwritten all the same name directories and files, enter the fourth step;

Step 4: Open VSS Explorer, connect to the controlled center, checkin first specify all files in the directory, then enter the fifth step;

Step 5: Open the VS.NET, connect to the VSS controlled center library at this time, open the project solution, if an error message appears when the project solution is turned on, you need to modify the corresponding modification, modify it, run compile, if compiled By, enter the sixth step;

Step 6: Open VSS Explorer again, right click to specify the project, select "Label", set the new version and comment information to the project, to this, through method 2 (make full use of VSS Explorer) to implement the initial incoming library and subsequent library operations .

Because I just did this, I hope that I'm criticism

转载请注明原文地址:https://www.9cbs.com/read-25628.html

New Post(0)