user2997206
user2997206

Reputation: 60

tfignore in ASP.NET Core Project VS 2015 Update 3 not working

We have a .tfignore file in our ASP.NET Core project at the root level. We have an Angular TS application being generated to a wwwroot\app folder which we don't want added to tfs for obvious reasons. The problem is every time we build green plus icons appear by all the files and our .tfignore file is have no effect.

Could someone please help identify what's going on? Content of our tsconfig is as follows -

wwwroot\app

We have tried all the following

\wwwroot\app wwwroot\app\ wwwroot\app*.*

As well as moving the tfignore to the solution level nothing works.

Any advice much appreciated.

Upvotes: 0

Views: 588

Answers (1)

Cece Dong - MSFT
Cece Dong - MSFT

Reputation: 31075

This issue should has been fixed in VS 2015 Update 3: https://github.com/aspnet/Tooling/issues/18

I've also tested a ASP.NET Core project in VS2015.3, .tfignore works as expected.

If you put the .tfignore in the root of the net core project with the paths: wwwroot\app, but it is still in pending changes. Try to delete the entire solution from the disk, then download again from TFS as @airomero did in the link.

Adding a screenshot:

enter image description here

Upvotes: 1

Related Questions