tfignore

Why doesn't my .tfignore file ignore my packages folder

醉酒当歌 提交于 2020-01-13 08:16:24
问题 I am using Visual Studio 2013 Pro and Team Foundation Server 2013. I have a .tfignore file with the following lines: \packages \<project name>\Bin !\<project name>\Bin\*.refresh Line 1 is not working but lines 2 and 3 are. The project name above is a website inside a solution. There is nothing else in this solution. There are nuget packages installed which automatically pull down when you publish or build the website. When that happens this package folder is created in the solution. It's not

vs2015 keeps adding project.lock.json to tfs

Deadly 提交于 2020-01-04 06:07:50
问题 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 files from source control. How can I stop it from including project.lock.json? 回答1: Simply update your VS to VS2015Update 3 . The .tfignore should be indeed working correctly. Or you can also use a temporary quick fix for the problem: Add an $ char

Why is my .tfignore not ignoring *.vssscc?

醉酒当歌 提交于 2019-12-13 04:49:04
问题 I'm running VS Enterprise 2015. This infernal thing keeps wanting to add my solution's .vssscc file to version control. My .tfignore has this line: *.vssscc The other items in .tfignore are working fine, but for some reason this one is not. There are no other .tfignore files in the directory tree. Surely I'm overlooking something, but I'm pulling what's left of my hair out trying to figure out what. Any suggestions? 回答1: *. vssscc stands for Visual Studio Solution Source Control File When a

Visual Studio 2015/ TFS 2013 not ignoring bower_components in ASP.NET 5 projects

余生长醉 提交于 2019-12-07 10:17:06
问题 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": { "Microsoft.AspNet.Mvc": "6.0.0-beta7", "Microsoft.AspNet.Server.IIS": "1.0.0-beta7", "Microsoft.AspNet.Server.WebListener": "1.0.0-beta7", "Microsoft.AspNet.StaticFiles": "1.0.0-beta7" }, "commands": { "web": "Microsoft.AspNet.Hosting --config hosting.ini" },

tfignore wildcard directory segment

為{幸葍}努か 提交于 2019-12-04 10:17:41
问题 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 I would achieve such behaviour without explicitly declaring every reference that I need excluding. . Documentation # begins a comment line The * and ? wildcards are supported. A filespec is recursive unless prefixed by the \ character. ! negates a

tfignore wildcard directory segment

老子叫甜甜 提交于 2019-12-03 06:21:55
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 I would achieve such behaviour without explicitly declaring every reference that I need excluding. . Documentation # begins a comment line The * and ? wildcards are supported. A filespec is recursive unless prefixed by the \ character. ! negates a filespec (files that match the pattern are not ignored) Extract from the documentation . The