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 solution is added to source control, a corresponding .vssscc file is created. The text file contains connection information and an exclusion file list, similar to the project hint file. This file is temporary and exists only in the source control database.

As a rule of thumb, we'd recommend letting Visual Studio handle those files. It'll add to source control the files it needs and leave out those not needed. .vssscc files also manage the solution bindings, so better to have them controlled (by VS) .

Also, visual studio can have problems with the source control bindings if the files it needs are not under source control.



来源:https://stackoverflow.com/questions/34269113/why-is-my-tfignore-not-ignoring-vssscc

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!