LINK : fatal error LNK1181: cannot open input file

I got an error link.exe. Error: 267 on version 5.2, my actions were as follows: Started VS recovery in Visual Studio Installer, after recovery I had Unreal and Epic Launcher disappeared, installed them, then I had to clear folder in Binaries project and compile through Unreal startup. The problem was solved.