LNK1104 error after moving project directory

I moved my project directories around from ~/Documents/Unreal Projects to ~/Unreal Projects. Since then, live coding compilation fails because it’s looking for a file in the wrong place:

File C:\Users\me\Unreal Projects\ObstacleAssault\Intermediate\Build\Win64\ObstacleAssaultEditor\Development\Engine\SharedPCH.Engine.ShadowErrors.InclOrderUnreal5_0.h.obj was modified or is new
File C:\Users\me\Unreal Projects\ObstacleAssault\Intermediate\Build\Win64\UnrealEditor\Development\ObstacleAssault\MovingPlatform.gen.cpp.obj was modified or is new
File C:\Users\me\Unreal Projects\ObstacleAssault\Intermediate\Build\Win64\UnrealEditor\Development\ObstacleAssault\ObstacleAssault.init.gen.cpp.obj was modified or is new
File C:\Users\me\Unreal Projects\ObstacleAssault\Intermediate\Build\Win64\UnrealEditor\Development\ObstacleAssault\MovingPlatform.cpp.obj was modified or is new
File C:\Users\me\Unreal Projects\ObstacleAssault\Intermediate\Build\Win64\UnrealEditor\Development\ObstacleAssault\ObstacleAssault.cpp.obj was modified or is new
Building patch from 5 file(s) for Live coding module C:\Users\me\Unreal Projects\ObstacleAssault\Binaries\Win64\UnrealEditor-ObstacleAssault.dll
LINK : fatal error LNK1104: cannot open file 'C:\Users\me\Documents\Unreal Projects\ObstacleAssault\Binaries\Win64\UnrealEditor-ObstacleAssault.patch_0.exe'
Failed to link patch (0.000s) (Exit code: 0x450)

The other files above the error are correct though, but the one giving the error should not be in \Documents.

This looks like a simple problem but I have no idea of how to fix it as I’m new to Unreal. I tried deleting the Intermediate directory as well as “refreshing the visual studio code project” but it didn’t help.

Thanks!

I’m in the exact same boat: Same error after moving the project. I also tried deleting Intermediate dir, refreshing vscode project, regenerating project files from the File Explorer, no luck.
Of note, running the Build task from within VSCode succeeds, but trying to do a live rebuild from within UE fails with the mentioned linker error.
Anyone know of a solution?

Greetings @Devyte

Welcome to the Unreal Engine Community Forum! If you’re still having this issue, I’d take a look here LINK : fatal error LNK1104: cannot open file - #2 by Shadowriver and see if the solutions their resolve it. (I did not go with the answer they have marked. But, scroll further down and check out the info on the Binaries/Win64) Let me know what you find!