Search code examples
.netvisual-studioasp.net-coretfsconfiguration-files

.vspscc file in .NET Standard / Core


How to handle .vspscc files in .NET Standard / .NET Core?

Should they still be part of the project?

Should they be under source control (checked in)?

-> If not, should it better be excluded in SourceControl Explorer explicit or with a .tfignore File


Solution

  • Assume you are using TFVC as your source control.

    .vspscc is a Source Code Control (SCC) file for projects created with Microsoft Visual Studio; contains metadata used for tracking revisions of Visual Studio software development projects; includes information such as the version number, file path, and the number of nested projects.

    You do not need to handle/modify/track these files. VS automatically exclude these files, prevent them be checked in source control.

    There will be a <Exclusion>*.vspscc</Exclusion> session in the LocalItemExclusions.config file. What files are ignored in TFS by default?

    If these files got some issue, the issue may related to source control binding. Simply unbind and rebind the source control may do the trick.

    If you are using Git as your source control. They're completely useless.

    More detail about this file, you could also take a look at this question: Why does Visual Studio check out the .vspscc file when I add a file to a project?