Weird error when building with VS 2015

The compile bug happens all the time, even if I just create an empty project, open VS and build. Compiling inside the editor causes no problems, it happens only in VS. Both the editor and VS are being ran with administrator rights.

It’s not a huge problem as I compile only from the editor but I’m thinking this might cause problems further down the road if I ever need to compile from VS.

Does it have any importance that VS & UE4 are on separate disks?