Access denied to firstpass.dll.mdb

I’ve been encountering this problem a lot lately, either when switching between Visual Studio 15 and Unity or after a build and Run of any platform…

Unhandled Exception: System.UnauthorizedAccessException: Access to the path “C:\Users\Brian\OneDrive\Unity Projects\3Person\Temp\Assembly-CSharp-Editor-firstpass.dll.mdb” is denied.

So far, the only workaround I can find is to close both Unity and Visual Studio and reload the project. Kinda frustrating, as it’s happening probably every hour or so, and it generally kills any momentum I have when I’m working on the project.
Any ideas/solutions?

Oh, Windows 10, but this was happening on my old computer running 8.1 as well, and I was using MonoDevelop there.