Formerly non-dotnet times with VSS, only a VSSVER.SCC file is generated, the VSS function is removed only by deleting the file, and the file attribute is changed to non-read-only.
The VSS feature was recently used in dotnet, but when the undo-in problem occurred, deleting the added files alone could not remove the VSS functionality, and the study found that the VSS under dotnet was very different from the previous version, not only adding several files, but also modifying the information of some files. You need to use the following methods to remove the environment for source code management:
1: Remove the MSSCCPRJ.SCC, solution name. VSSSCC, VSSVER.SCC, project name. CSPROJ.VSPSCC file
2: In the project name. The following information is similar to the following in vbproj, removing the configuration information below:
Sccprojectname = "SAK"
Scclocalpath = "SAK"
Sccauxpath = "SAK"
Sccprovider = "SAK"
3: Finally on. SLN file for information about VSS and remove it
Globalsection (Sourcecodecontrol) = Presolution
Sccnumberofprojects = 4
SccLocalPath0 =.
Cancheckoutshared = False
Solutionuniqueid = {77652F52-DA0D-4E0B-AC65-ACBAD5F49A1B}
SccProjectUniqueName1 = Dibdb\\dibdb.vbproj
SccLocalPath1 =.
Cancheckoutshared = False
SccProjectFilePathRelativizedFromConnection1 = dibdb\\
SccProjectUniqueName2 = Eeinfo\\eeinfoclient.vbproj
SccLocalPath2 =.
Cancheckoutshared = False
SccProjectFilePathRelativizedFromConnection2 = eeinfo\\
SccProjectUniqueName3 = Http://mingday/temp/eeeinfo.vbproj
SccProjectName3 = \u0022$/abcd/webservice\u0022,\u0020daaaaaaa
SccLocalPath3 = Ws\\eeinfo
Cancheckoutshared = False
SccProjectEnlistmentChoice3 = 2
Endglobalsection
OK, now the environment for the management of the source code has been lost.
=====================================================================
Completely remove VSS source control information for your project
Sometimes travel to take the project out, always prompt me to connect to the source control server, the application of the source code server Management I certainly do not connect, looked very uncomfortable, began to delete source control information.
Delete the solution directory, each project directory, first:
MSSCCPRJ.SCC,
Project name. VSSSCC,
VSSVER.SCC,
Project name. CSPROJ.VSPSCC
After these four types of files, open the project still reported not deleted clean, reported the following error:
(x) The solution appears to be under source control, but cannot find its binding information. Save the mssccprj of the solution's source control settings. The SCC file or other item may have been deleted. Because these missing information cannot be automatically recovered, items that are missing bindings will be treated as not under source code control.
To open the project file's project name. csproj file, we can see the code similar to the following in the beginning section:
<csharp
ProjectType = "Web"
productversion = "7.10.3077"
Schemaversion = "2.0"
ProjectGuid = "{2cbb68b7-fe78-4cef-981b-6a0529a32889}"
Sccprojectname = "SAK"
Scclocalpath = "SAK"
Sccauxpath = "SAK"
Sccprovider = "SAK"
>
Remove the following configuration information:
Sccprojectname = "SAK"
Scclocalpath = "SAK"
Sccauxpath = "SAK"
Sccprovider = "SAK"
Remove in Solution Global ....EndglobalThe information between
OK, the world is quiet, every time you open the solution, will not see the annoying hint source code information.
Remove the source Code Control from Visual Studio