Questions tagged [tfignore]
22 questions
14
votes
3 answers
tfignore wildcard directory segment
Is it possible using .tfignore to add a wildcard to directories? I assumed it would have been a case of just adding an asterisk wildcard to the directory segment. For example:
\path\*\local.properties
However this does not work and I am unsure how…

Malachi
- 33,142
- 18
- 63
- 96
12
votes
2 answers
.tfignore is not ignoring files
I have a .tfIgnore file like below whihc is already checked-in
\xx.Phoenix.Web\bower_components
\xx.Phoenix.Web\node_modules
*.autogen.cs
I would expect that everyfile which is match with .autogen.cs be ignored.
But the problem is when files are…

Reza
- 18,865
- 13
- 88
- 163
10
votes
2 answers
Why doesn't my .tfignore file ignore my packages folder
I am using Visual Studio 2013 Pro and Team Foundation Server 2013. I have a .tfignore file with the following lines:
\packages
\\Bin
!\\Bin\*.refresh
Line 1 is not working but lines 2 and 3 are. The project name above…

hondaman2003
- 177
- 2
- 10
8
votes
1 answer
Recursively ignore directory by name using .tfignore
I have the following folder structure:
foo1/
node_modules/
foo2/
node_modules/
bar/
node_modules/
.tfignore
A single .tfignore file is in the root directory.
What should I add to the .tfignore in order to ignore node_modules directories…

scor4er
- 1,580
- 12
- 23
8
votes
1 answer
how to stop ".jfm file cannot be accessed" from locking up tfs
I'm working on a project with a large solution in TFS, which includes a sqlProject. There's a few things we use in that project but there's also a .jfm file generated for the project. The .jfm has been excluded from the project but TFS keeps trying…

Sadie
- 81
- 1
- 5
5
votes
1 answer
tfignore exclude file path containing a space not working
In my project I have a WCF service reference. The service reference generates some metadata files that have an extension .datasource. I want to ignore/exclude in the tfignore all those files that end with this extension (.datasource) in the folder…

Gagan
- 305
- 1
- 13
4
votes
2 answers
TFS: Why is Cloak grayed out?
I'm on VS Community 2017.
I'm trying to permanently ignore the packages folder from being checked-in.
I went to Source Control Explorer, but the Cloak option in the file/folder's context menu, under Advanced is grayed out:
I tried adding a…

Shimmy Weitzhandler
- 101,809
- 122
- 424
- 632
4
votes
1 answer
Visual Studio 2015/ TFS 2013 not ignoring bower_components in ASP.NET 5 projects
Visual Studio 2015 is not ignoring bower_components folder although it is ignoring node_modules so I don't know what is wrong.
This is the content of my project.json
{
"webroot": "wwwroot",
"version": "1.0.0-*",
"dependencies": {
…

Sul Aga
- 6,142
- 5
- 25
- 37
2
votes
1 answer
.tfignore Office temporary files
I'm having trouble ignoring the temporary files created by MS-Office, especially the ones from Excel.
The file is generated when you open some Excel file which is under version control and starts with ~$. It will instant be added to the included…

BenHero
- 323
- 1
- 3
- 9
2
votes
1 answer
How to commit list of ignore files with Android Studio using TFS plugin
I'm using Android Studio 3.2.1 with
TFS Integration by JetBrains Version: 173.3415.27
I have .tfignore files but TFS Integration plugin does not utilize it. .tfignore file support has been requested to plugin but that doesn't seem to go anywhere:…

rooste
- 160
- 9
2
votes
2 answers
vs2015 keeps adding project.lock.json to tfs
My folder structure is:
-- Solution folder
--- .tfignore file
--- folder for each project
But vs2015 keeps including my project.lock.json files in source control.
In my .tfignore file, I added: project.lock.json
I've tried undoing and deleting the…

Hoppe
- 6,508
- 17
- 60
- 114
2
votes
1 answer
User-global tfignore?
So TFS supports adding a .tfignore file in a repository to exclude files. Does it support a way to add a user-specific or machine-specific global .tfignore file?
Git supports this with a.gitconfig file and its excludesFile entry.
Here is my…

Matthias
- 13,607
- 9
- 44
- 60
2
votes
1 answer
How to prevent TFS from ignoring files
In a project I'm working on we check in Ruby with sass in order to compile scss files during the build. I switched to using a local workspace when updating gems so that changes are detected automatically. This works great except for the fact that…

Sacrilege
- 795
- 9
- 25
1
vote
1 answer
TFS/Azure Devops ignoring my project folder and contents projects are named *.lib
I have a solution with an API and an injectable service in 2 separate projects.
Solution
----> solution files
|--> project.api
----> project.api files
|--> project.Lib
----> project.Lib files
When I go to add the solution to my TFS Source repo, it…

Jim Baltzell
- 33
- 5
1
vote
1 answer
Recursively ignore within a structured repo using .tfignore
I have a solution with multiple projects. Each project uses a given Nuget that installs resources in some folders thar are shared with custom files. Something like
Solution
ProjA
Resources
Text
Img
Text
ProjB
…

bkqc
- 831
- 6
- 25