Visual Studio 2015 TFS .tfignore file

前端 未结 3 1778
日久生厌
日久生厌 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:18

    If your .tfignore file is in the solution root folder, adding a \Dist to it will make TFS ignore the Dist folder only inside the root folder. For instance, if you create a Dist folder inside a subfolder (e.g any of the projects folder in the solution), it won't work.

    In that case, you need to use just Dist rather than \Dist, then rule will aply to the .tfignore root folder and all its subfolders.

    This only apply to folders.

提交回复
热议问题