LogVSAccessor: Warning: Couldn't access Visual Studio

I am having problems compiling my project. Each time I try I get this:

LogVSAccessor: Warning: Couldn’t access Visual Studio
I have tried running the game as administrator, I’ve reinstalled visual studio 17. I have the necessary visual studio addons. I just can’t seem to figure out why I’m getting this error.