简体   繁体   中英

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.

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:

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM