.net - .NET Standard/Core 中的 .vspscc 文件

标签 .net visual-studio asp.net-core tfs configuration-files

如何处理 .NET Standard/.NET Core 中的 .vspscc 文件?

他们还应该成为项目的一部分吗?

他们是否应该受到源代码控制( checkin )?

-> 如果不是,最好将它排除在 SourceControl Explorer 中或使用 .tfignore 文件

最佳答案

假设您使用 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.



您不需要处理/修改/跟踪这些文件。 VS 自动排除这些文件,防止它们在源代码管理中被检查。

会有<Exclusion>*.vspscc</Exclusion> LocalItemExclusions.config 文件中的 session 。 What files are ignored in TFS by default?

如果这些文件有问题,则问题可能与源代码控制绑定(bind)有关。简单地解除绑定(bind)和重新绑定(bind)源代码控制可能会奏效。

如果您使用 Git 作为源代码控制。它们完全没用。

关于这个文件的更多细节,你也可以看看这个问题:Why does Visual Studio check out the .vspscc file when I add a file to a project?

关于.net - .NET Standard/Core 中的 .vspscc 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61608147/

相关文章:

c# - XDocument Descendants() 显示父节点中的所有子值

c# - 如何使用 C# 以编程方式部署数据库

visual-studio - 用于 UI 线框的 Visual Studio 2010?

c# - 无法转换类型为 'Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope' 的对象

.net - 发送 GET 请求并获取无法发送动词类型的内容主体

C# 独立 WebDAV

c++ - 在 Visual Studio 中编译 gcc 代码会导致错误 C3646 : '__attribute__' : unknown override specifier

asp.net-core - UseStatusCodePagesWithRedirects 和 UseStatusCodePagesWithReExecute 之间的区别 - Asp.net core 中的状态代码页

asp.net-core - 忽略中间件中的请求

.net - 禁用XAML UI设计器