Internal Compiler Error??

This issue is causing me a lot of grief. I cannot get anything done in a suitable time. I edit my code, save it, go to unity and sometimes gives my this error and won’t allow me to run it.

Internal compiler error. See the console log for more information. output was:
Unhandled Exception: System.UnauthorizedAccessException: Access to the path "C:\Users\ben\Documents\Unity\Space Mining Game\Temp\Assembly-CSharp.dll.mdb" is denied.

I’ve looked around and haven’t found any solutions to it. And as I stated before, it only sometime does this, but very frequently.

Thanks for any future help!

I figured out that my antivirus saw my continual editing, saving, and compiling of code as a virus so it continually denied access to it after a certain amount of edits. I fixed it by, unfortunately, turning off the live scan feature of the antivirus.