I have now noticed this in VS 2017 in a Core console app, and a standard .NET Framework MVC app. It is named <solution-name>.sqlite
, and has the following tables:
FileScannerCache FileSystemData FileSystemEntity FileSystemReference ProviderEntity Setting SymbolDefinition
It seems to contain MSBuild related data, but when I query some tables, like
select * from FileScannerCache
I get the error System.FormatException: String was not recognised as a valid DateTime
. I'm using the Sqlite/SQL Server Compact Toolbox to examine and query this db.
SQLite is often used as the on-disk file format for desktop applications such as version control systems, financial analysis tools, media cataloging and editing suites, CAD packages, record keeping programs, and so forth.
An SQLITE file contains a database created with SQLite, a lightweight (RDBMS) widely used in application development for storing embedded databases. SQLITE files are often created by software developers for storing data used by their applications.
The Android SDK provides dedicated APIs that allow developers to use SQLite databases in their applications. The SQLite files are generally stored on the internal storage under /data/data/<packageName>/databases.
This file seems to be related to the "Lightweight Solution Load" (LSL) functionality in VS2017. If you disable LSL in your solution, delete the file from the directory and open your solution you will see that it is not recreated. However, enable LSL for the solution again and open your solution, you will see the file created again. I presume it is being used as a form of cacheing information to enable the LSL functionality.
As an aside, all info in the .vs folder is supposed to be safe to exclude from source control.
If you ended up here because you are getting
Git failed with a fatal error. error: open(".vs/Onion/v15/Server/sqlite3/db.lock"): Permission denied fatal: Unable to process path .vs/Onion/v15/Server/sqlite3/db.lock
Then Team Explorer > Settings > Repository Settings > Add /.gitignore. It should now have .vs
# Visual Studio 2015 cache/options directory .vs/
Fixes issue.
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