Can't debug or build using VS

After upgrading to a clean install of Windows 10 I noticed that a couple of things weren’t working. I solved most of them by relinking the UE4 project in my solution, but I’m still unable to build from within Visual Studio. I’m only trying to build my plugin, not UE itself.

If I hit F5 VS doesn’t display the errors and just fails, so I began using the UBT directly so that I could get errors back. I fixed them all and it built in the command line.

Now however if I go to VS and hit F5 I get:

1>------ Build started: Project: UEOctane002, Configuration: DebugGame_Editor x64 ------1>  The system cannot find the path specified.
1> C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(37,5): error MSB3073: The command ""C:\Program Files\Epic Games\4.10\Engine\Build\BatchFiles\Build.bat" UEOctane002Editor Win64 DebugGame "C:\UnrealEngine\Projects\OctaneUE4Importer_410\UEOctane002.uproject" -rocket -waitmutex -2015" exited with code 3.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

This is the output from UBT (the batch file is the same):

$ ./UnrealBuildTool.exe UEOctane002Editor Win64 DebugGame "C:\UnrealEngine\Projects\OctaneUE4Importer_410\UEOctane002.uproject" -rocket -waitmutex -2015Target is up to date.

What gives? How do I get VS to work again?