Search code examples
apivisual-studio-2012workspace

TFS api - candidates excluded by file extension


I am trying to import a set of files into TFS using the API. The method Workspace.GetPendingChangesWithCandidates excludes files that match the globally ignored file extensions (.dll, etc). How can I get these files from the API so that I can PendAdd them?


Solution

  • I found an answer but I think it's a kludge. You can edit the LocalItemExclusions.config file found here: C:\Users\%username%\appdata\local\microsoft\team foundation\4.0\configuration\versioncontrol.

    Ultimately, I think the ignored files should be overridden from the API, but I can't find such an option.