Dustin Oprea
Dustin Oprea

Reputation: 10236

TFS Check-In Consistently Excludes Files in VS 2015

I have an enormous project tree hosted in a customer TFS 2015 server. I have a local instance of TFS 2015 so that I can test some build and release workflows in an isolated environment. When I copy the 10GB of contents from the customer TFS project to a local TFS project, and then check it in, certain files are being consistently excluded (I have cleared and re-added the files several times). I don't know the extent of what's being omitted. I just know that there are some assemblies (as well as the directories where they are hosted) that have been colocated into the tree but which end-up not being committed every time. It's obviously very confusing to figure out what exactly is missing since they exist in my local filesystem but the build and my TFS web UI reports these as missing.

Does anyone know why this is happening?

Upvotes: 0

Views: 391

Answers (1)

iladan
iladan

Reputation: 151

TFS excludes .dll files from pending changes by default, but it is possible to customize folders and filetypes to include-exclude. This can be done using .tfignore file, detailed documentation here.

But, if that problem is yours only, consider not checking in the .tfignore file, - as other members of the team might prefer exisiting include/exclude pattern.

Upvotes: 1

Related Questions