velagp
velagp

Reputation: 11

In TFS 2015, adding new files in solution are detected in excluded changes by default.

In TFS 2015, adding new files in solution are Detected in excluded changes by default.Is there any setting, that when I set, the new and deleted items directly appears in Included changes!

Upvotes: 1

Views: 311

Answers (2)

Rodders
Rodders

Reputation: 2435

This functionality was changed in TFS 2012 I think. You used to be able to simply edit the registry. Now you cannot by default change TFS's ignore list but you can override it.

I should point out that the default list is quite good and you should not normally need to include any of the excluded files in your source control so you may want to investigate and review your processes. What files are you wanting to include? .dlls? If so, look into using NuGet.

Nonetheless, you will need to create a .tfignore file at the root level of your source control with the line:

!*.dll

This will tell TFS to NOT ignore dlls.

See here for more information and how to create the .tfignore file

Upvotes: 1

Eddie Chen - MSFT
Eddie Chen - MSFT

Reputation: 29966

If the file is added from VS, it should appear in Included Changes directly. But if the file is added outside VS, there isn't any setting to include them automatically. You need to promote them from "Excluded Changes" manually.

Upvotes: 0

Related Questions