什么是"storage.ide"?文件在我的Visual Studio解决方案文件夹下,什么是“永久存储"? [英] What is the "storage.ide" file beneath my Visual Studio solution folder, and what is "persistent storage"?

查看:682
本文介绍了什么是"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]\v15\sqlite3\storage.ide

我想知道是否应该将此添加到我的版本控制存储库中,还是应该将其放在忽略列表中(即,它是否是基于用户/设置的文件,例如.suo文件).我一直在努力寻找它是什么以及它是做什么的,但是几乎没有关于它的任何信息.我搜索了诸如"Visual Studio sqlite3 storage.ide"之类的内容,这些内容使我进入了

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文件.更改来自

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文件,您会看到也排除该文件夹.

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解决方案文件夹下,什么是“永久存储"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆