I have run into this several times now:
An error was raised by libgit2. Category = Os (Error).
Which sometimes causes this or similar error while i am writing code:
Failed to open '.../App_Data/....mdf':
The process cannot access the file because it is being used by another process.
When this happens i can't code without restarting my Visaul Studio 2012
.
I think it's being caused by Source Control - Git
as i don't remember having this problem before i installed the Git extension for Visual Studio and Team Foundation.
Has anyone else run into this and how did they solve it?