I have a solution with APIs and injectable services in multiple separate projects on TFS/Azure.
Although I excluded all Properties/PublishProfiles/XXX.pubxml
files from Solution Explorer, they are still in the list that waiting for check-in:
Then I tried to add *.pubxml and .pubxml extension manually to C:\Users\[USERNAME]\AppData\Local\Microsoft\Team Foundation\[X.X]\Configuration\VersionControl\LocalItemExclusions.config
but no chance.
I created tfignore
file follow instruction both on here and here (thanks to @Lennart) but nothing changed. It's still on the Pending Changes list.
Any other solution for ignoring file extensions on TFS/Azure? Especially I'm looking for ignoring .pubxml extension, obviously.
Exclude files from Solution Explorer doesn't mean you exclude them from source control, you just exclude them from the solution explorer. You could exclude right click the file in pending changes, and then click Exclude: