vs Clear TFS Versioning tips when opening a project

Source: Internet
Author: User

Reference source Https://www.cnblogs.com/weixing/p/5219294.html,

My environment VS2017 reference the following operation, you can achieve the purpose!

To permanently clear TFS versioning in your project, you need to take three steps (make sure you're not using the current project before the operation):

    1. Clear (delete) All version control files under the project, which are: *.vssscc ,*.vspscc

      Delete these version control files is relatively simple, search for these suffix files, delete can;

    2. To modify a project's solution file:*.sln

      First verify that the solution file ( *.sln ) is modifiable, and if it is a read-only file, it needs to be adjusted to be modifiable. Never open a file using Visual Studio, open the file with a text editor, and *.sln in the file we will see code similar to the following:

Globalsection (Teamfoundationversioncontrol) = presolution       sccnumberofprojects = 4       Sccenterpriseprovider = { XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}       Sccteamfoundationserver = Here is your project ' s TFS       SccLocalPath0 =.       SccProjectUniqueName1 = project-unique-name1.csproj       SccProjectName1 = your-project-name       SccLocalPath1 = Project-local-path       SccProjectUniqueName2 = project-unique-name2.csproj       SccProjectName2 = project-name-2       SccLocalPath2 = Local-path2       SccProjectUniqueName3 = project-unique-name3.csproj       SccProjectName3 = project-name-3       SccLocalPath3 = Local-path3.   Endglobalsection

3. This code is the TFS configuration that is loaded when the project starts, and we want to eliminate TFS, this code must be deleted, after deletion, save the file.

vs Clear TFS Versioning tips when opening a project

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.