Visual Studio permission error when I want to build

In my case this happened when I moved a property that had BlueprintReadOnly or BlueprintReadWrite to a private section of the header, it quickly shows the right error but then clears and displays “-waitmutex” exited with code 5. Please verify that you have sufficient rights to run this command.".
A full rebuild actually made it so i could read the right errors.