Delete source code management information (VSS)

Source: Internet
Author: User
Tags dotnet

In the previous non-dotNet era, VSS only generates a vssver. scc file. to cancel the VSS function, you only need to delete the file and change the file attribute to non-read-only.
Recently, the VSS feature was used in dotNet, but there was a problem with undo. Deleting the added files separately cannot remove the VSS feature, after the study, we found that VSS in dotNet is very different from previous versions. It not only adds several files, but also modifies the information of some files, you need to use the following methods to delete the source code management environment:
1: Delete mssccprj. scc and solution name. Vssscc, vssver. scc, and project name. Csproj. vspscc File
2: In the project name. Vbproj contains information similar to the following:
SccProjectName = "SAK"
SccLocalPath = "SAK"
SccAuxPath = "SAK"
SccProvider = "SAK"
3: finally. Find and delete the VSS information in the sln file.
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/WebServiceu0022, u0020DAAAAAAA
SccLocalPath3 = WS \ eeinfo
CanCheckoutShared = false
SccProjectEnlistmentChoice3 = 2
EndGlobalSection
Now, the source code management function of the environment is no longer available.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.