Visual Studio error: v16/Server/sqlite3/db.lock


Occasionally, when you want to commit code to a remote repository after creating a new Visual Studio project you might face the error:


What you need to do here is initialise a new .gitignore file on your current workstation. This is easy to achieve:

Go to Settings in your Team Explorer window.

Once in settings, go to Repository Settings.

Edit the Ignore file.

Add the following to the Ignore file:


Save and close.

That’s all that is required.

Leave a comment