Visual Studio 2015 TFS .tfignore file

前端 未结 3 1770
日久生厌
日久生厌 2020-11-27 07:38

I want to ignore a folder (and its content) in a visual studio 2015 solution from beeing checked-in into tfs.

I created a file called \'.tfignore\' in the root of th

3条回答
  •  自闭症患者
    2020-11-27 08:34

    First, please make sure your .tfignore file created without any problem. This file does not have any suffix. One way to create it suggest you to rename a new.txt file with "tfignore." It will auto change to right .tfignore file.

    You can also use the auto automatically generated .tfignore file, follow below steps:

    1. In the Pending Changes page, in the Excluded Changes section, choose the Detected changes link.

    The Promote Candidate Changes dialog box appears.

    1. Select a file, open its context menu, and choose Ignore this local item, Ignore by extension, Ignore by file name, or Ignore by folder.

    1. Choose OK or Cancel to close the Promote Candidate Changes dialog box.
    2. A .tfignore file appears in the Included Changes section of the Pending Changes page. You can open this file and modify it to meet your needs.

    More info please check the Customize which files are ignored by version control from MSDN Link:Add files to the server

提交回复
热议问题