.NET Standard/Core 中的 .vspscc 文件
.vspscc file in .NET Standard / Core
如何在 .NET Standard / .NET Core 中处理 .vspscc 文件?
他们还应该参与项目吗?
它们是否应该受源代码控制(签入)?
-> 如果不是,最好在 SourceControl Explorer 中显式或使用 .tfignore 文件排除它
您不需要此文件。这是给 TFVC 的。你能看到它在 gitignore 文件中吗
Git Ignore File sample
假设您使用 TFVC 作为源代码控制。
.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.
您不需要 handle/modify/track 这些文件。 VS 自动排除这些文件,防止它们在源代码管理中被检查。
LocalItemExclusions.config 文件中将有一个 <Exclusion>*.vspscc</Exclusion>
会话。
如果这些文件出现问题,该问题可能与源代码管理绑定有关。只需取消绑定并重新绑定源代码管理就可以解决问题。
如果您使用 Git 作为源代码管理。他们完全没用。
关于这个文件的更多细节,你也可以看看这个问题:Why does Visual Studio check out the .vspscc file when I add a file to a project?
如何在 .NET Standard / .NET Core 中处理 .vspscc 文件?
他们还应该参与项目吗?
它们是否应该受源代码控制(签入)?
-> 如果不是,最好在 SourceControl Explorer 中显式或使用 .tfignore 文件排除它
您不需要此文件。这是给 TFVC 的。你能看到它在 gitignore 文件中吗 Git Ignore File sample
假设您使用 TFVC 作为源代码控制。
.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.
您不需要 handle/modify/track 这些文件。 VS 自动排除这些文件,防止它们在源代码管理中被检查。
LocalItemExclusions.config 文件中将有一个 <Exclusion>*.vspscc</Exclusion>
会话。
如果这些文件出现问题,该问题可能与源代码管理绑定有关。只需取消绑定并重新绑定源代码管理就可以解决问题。
如果您使用 Git 作为源代码管理。他们完全没用。
关于这个文件的更多细节,你也可以看看这个问题:Why does Visual Studio check out the .vspscc file when I add a file to a project?