本文介绍了什么是“storage.ide"?我的 Visual Studio 解决方案文件夹下的文件,什么是“持久存储"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚安装了 Visual Studio 2017 15.3 预览版,现在我注意到我一直在研究的现有解决方案下面有一个新文件:

I just installed Visual Studio 2017 15.3 preview, and now I'm noticing a new file beneath an existing solution that I've been working on:

.vs[SOLUTION NAME]v15sqlite3storage.ide

我想知道是否应该将其添加到我的版本控制存储库中,或者是否应该将其放在忽略列表中(即,如果它是基于用户/设置的文件,例如 .suo 文件).我一直在谷歌搜索试图弄清楚它是什么以及它做了什么,但几乎没有任何关于它的信息.我搜索了诸如visual studio sqlite3 storage.ide"之类的内容,这些内容将我带到了 like this reference source for the SQLitePersistentStorageService class,所以我认为它与代码分析有关,但我在以下位置找不到任何其他信息关于 SQLitePersistentStorageService 类的所有内容.

I'm wondering if I should be adding this to my version control repo, or if I should put it on the ignore list (i.e. if it's a user/setting based file, like .suo files). I've been googling trying to figure out what it is and what it does, but there's barely any info about it. I've searched things like "visual studio sqlite3 storage.ide" which have lead me to pages like this reference source for the SQLitePersistentStorageService class, so I gather it has something to do with code analysis, but I can't find any other information at all about the SQLitePersistentStorageService class.

这个文件有什么用,我应该把它保存在版本控制中吗?

What is this file for, and should I be keeping it in version control?

推荐答案

.vs 文件夹中的所有内容都应从源存储库中排除.它是由 Visual Studio 创建的用于存储用户特定信息的文件夹.以前有一个保存此数据的 .suo 文件.更改来自 UserVoice 建议.

Everything in the .vs folder should be excluded from your source repository. It is a folder created by Visual Studio for storing user specific information. Previously there was a .suo file which held this data.The change came from a UserVoice suggestion.

此外,还有一个非常有用的 GitHub 存储库,其中包含用于各种项目类型的通用 .gitignore 文件,您会看到 Visual Studio 版本完全 也排除了这个文件夹.

Additionally, there's a very useful GitHub repo that has common .gitignore files for various project types and you will see that the Visual Studio version completely excludes this folder too.

这篇关于什么是“storage.ide"?我的 Visual Studio 解决方案文件夹下的文件,什么是“持久存储"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-05 10:59