If you are using the following combination of tools:
- Visual Studio 2012
- Visual Studio Tools for Git
Recursive read lock acquisitions not allowed in this mode.
I'm lost on the root cause of this, but it does seem that the project I'm working on has files set to read-only by something regularly, perhaps Visual Studio is trying to make Git more TFS-y by locking things all over the place. Whatever the cause, I've found that the following usually helps:
- Don't use Update-Package - use Install-Package instead.
- Make sure the solution has all of its files read+write, not read only.
- Open the team explorer and go to 'Commits' - making sure that the Git tools have loaded various components.