Search code examples
visual-studio-2015asp.net-coreasp.net-core-mvctfvcazure-devops

Ignore files in Visual Studio Team Services?


I want to ignore some files from an ASP.NET Core project I am using with VSTS and TFVC.

I made some research and people say that a .tfignore file should be enough, but it doesn't prevent the folder i don't want to be present in the Included Changes.

I tried a .tfignore with this.

\wwwroot\lib

And it's not working. Any ideas?


Solution

  • .tfignore does not work with Asp.Net5 (Named as Asp.Net Core1.0 now) project. This is a known issue. Refer to this link for details: Things in ".tfignore" still are shown in the Solution Explorer (and in pending changes)