忽略 Visual Studio Team Services 中的文件?

Ignore files in Visual Studio Team Services?

我想忽略 ASP.NET 核心项目中的一些文件,我正在与 VSTSTFVC 一起使用。

我做了一些研究,人们说 .tfignore 文件应该足够了,但它不会阻止我不想出现在包含的更改中的文件夹。

我用这个试过.tfignore

\wwwroot\lib

它不起作用。有什么想法吗?

.tfignore 不适用于 Asp.Net5(现在命名为 Asp.Net Core1.0)项目。这是一个已知的问题。详情参考这个link:Things in ".tfignore" still are shown in the Solution Explorer (and in pending changes)