Visual Studio error: v16/Server/sqlite3/db.lock
Post by: syed hussain in Development
Summary
Occasionally, when you want to commit code to a remote repository after creating a new Visual Studio project you might face the error:
v16/Server/sqlite3/db.lock

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:
*.exe
*.pdb
/.vs
/.vs/
Save and close.
That’s all that is required.