Errors in Visual Studio for Lecture 66 Using Trigger Volumes

I’ve been trying for a week to fix two errors that come up whenever I make a change in my code in Visual Studio, but I can only get the errors to go away temporarily.

Here are the two errors:

Error Failed to produce item: C:\Users\jnich\OneDrive\Documents\Unreal Projects\03_EscapeTheBuilding\EscapeTheBuilding\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-EscapeTheBuilding-9349.lib

Error MSB3075 The command ““C:\Program Files\Epic Games\UE_4.15\Engine\Build\BatchFiles\Build.bat” EscapeTheBuildingEditor Win64 Development “C:\Users\jnich\OneDrive\Documents\Unreal Projects\03_EscapeTheBuilding\EscapeTheBuilding\EscapeTheBuilding.uproject” -waitmutex” exited with code 5. Please verify that you have sufficient rights to run this command.

I can get the errors to go away either by rebuilding in Visual Studio or by generating Visual Studio project files. The errors only go away until I make the next change, and I get the same errors again.

Does anyone have an idea of what these errors mean and what to do?

Thanks in advance!

I resolved the problem. First, I found out that error messages come up when there is no real error from this useful page: https://docs.unrealengine.com/latest/INT/Programming/Development/VisualStudioSetup/
Secondly, I saved, built, restarted, and reversed commits until the problem went away.