4

While adding for the first time files to TFS2012 some of them where suggested to be ignored (like .dll's, exe's etc.)

In fact some of those suggested to ignore files I need in TFS. So I've explicitly removed them from the ignored list and added them to TFS.

Now in Visual Studio I can work with those files normally but not in Eclipse! In Eclipse they are still labeled as "Ignored" and all team functionality is disabled! :(

Is there a way to solve this problem??

P.S. Of course those files are not in the .tfignore.

ADDED:

Ignoring seems to be done based on the file extension (.dll) and the folder name (\bin).

Dime
  • 2,041
  • 3
  • 23
  • 29

1 Answers1

6

Certain files (such as DLLs) are ignored by default in Team Foundation Server local workspaces.

In order to override the default ignore state, you will need to set a .tfignore line that specifies that DLLs should not be ignored. From the documentation:

# Do not ignore .dll files in this folder nor in any of its sub-folders
!*.dll
Edward Thomson
  • 74,857
  • 14
  • 158
  • 187
  • the file is called `.tpignore`, not `.tfignore` – Henrique de Sousa Apr 29 '13 at 13:03
  • 4
    @HenriqueSousa: it's not, they are two different files. `.tfignore` is the new-for-TFS-2012 ignore file for local workspaces, shared by both Team Explorer Everywhere and Visual Studio clients. `.tpignore` is used only by Team Explorer Everywhere. In this case, I'm talking about `.tfignore`. – Edward Thomson Apr 29 '13 at 13:36
  • Thank you for the clarification, indeed we still use TFS 2008 together with Team Explorer Everywhere and the `.tpginore` file serves our needs in Eclipse. – Henrique de Sousa Apr 30 '13 at 09:36