I noticed that for VS Projects controlled with TFVC, debug folders are ignored naturally without having to create a .tfignore
file to exclude them. However, I have a legacy project that seems not to follow this behavior and I am unable to fix it because I don't know who's responsible for that behavior in the first place.
Can you explain why debug folders are ignored naturally without having to use a .tfignore
?
SOLVED The problem turned out to be that - for any reason - the one who added the project to TFS the first time, added the debug and release folders with it - either deliberately or his VS was miss configured - and hence, the VS will keep track of those files even if ignored by default (natural behavior).
In order to solve it, I had to delete those folders form the TFS itself and then get the latest version to get the local copies deleted as well ... later after building the project and having those folders created again, VS will not recognize them as new files/folders because they are ignored by default as mentioned.