Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What files are ignored in TFS by default?

Tags:

tfs

Where can I find the complete list of files ignored by TFS by default (like *.dll, *.log, etc)? I saw it for GIT, but not for a "native" version control. I also saw a lot of links describing how to create your local .tfignore and write there

# Do not ignore .dll files in this folder nor in any of its sub-folders !*.dll

e.g. link, but where can I see already pre-defined list what files will be excluded by TFS if there is no custom .tfignore specified/present on the system?

like image 541
Dime Avatar asked Apr 05 '17 07:04

Dime


People also ask

How do I add ignore files to TFS?

Add files to the server - Azure ReposGo to your Source Control Explorer and navigate to the excluded file. From there right-click on the file and delete it. Go to the Included Changes in Pending Changes and navigate to the excluded file. From there right-click on the file and select Exclude.

How do I ignore files in Visual Studio?

Visual Studio automatically creates a . gitignore file for the Visual Studio development environment when you create a new Git repo. In the Git Changes window, right-click any changed file that you want Git to ignore and choose Ignore this local item or Ignore this extension.

How do I insert a Tfignore file?

If you have a local workspace, you can add a new file and in the bottom of the pending changes window you have the changes you can 'promote'. In that window, you can right click the files to automatically add them to a . tfignore file that will be created for you.


1 Answers

You could refer to the "LocalItemExclusions.config" file under the path "C:\Users\youraccount\AppData\Local\Microsoft\Team Foundation\x.0\Configuration\VersionControl" folder and open". (There may several folders named like 1.0, 2.0, 3.0, you need to make sure open the folder that match your TFS version.)

You could see that these folder and files types are ignored by default and they are defined in that file.

      <Exclusion>bin</Exclusion>
      <Exclusion>obj</Exclusion>
      <Exclusion>*.exe</Exclusion>
like image 136
Tingting0929 Avatar answered Sep 27 '22 21:09

Tingting0929