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?
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.
Even after adding the .vs folder like the answer correctly suggested, I still had issues with the storage.ide being in my branch and not being able to switch. I tried clearing the git cache like this answer suggested, but it was still blocking me switching branches.
I soon realised though that I was the one being stupid and I had VS2015 and VS2017 open with the same project (and obviously same repo) and 2017 was blocking the storage.ide file.
Closing 2015 and ignoring the storage.ide file in VS2017 sorted this issue.
Hope this might help others..
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With