Visual-studio – the “storage.ide” file beneath the Visual Studio solution folder, and what is “persistent storage”

version controlvisual studiovisual-studio-2017

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

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?

Best Answer

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.

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.