When you try to add items to TFSsource control, it automatically excludes certain folders and files:
But what if you want to change the default list of excluded folders and files? In Visual Studio 2010 you can do this by changing the following two registry keys:
- HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\TeamFoundation\SourceControl\AddOptions\ExcludeMasks
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\TeamFoundation\SourceControl\AddOptions\ExcludeMasks
Add or remove some items from the list separated by a semicolon. Next time you’ll open Visual Studio, the list will be changed.