C++ Can't Build code

I’m using Visual Studio only, not VS code, and with no changes to the script, when I build it, it fails

and gives the following message, it has been killing me for days

ERROR: Unhandled exception: Dependency file “D:\Unreal Projects\MyProject\Intermediate\Build\Win64\UnrealEditor\Development\MyProject\MyProject.cpp.json” version (“1.2”) is not supported version

I’m new to unreal and mostly have no idea of the little solutions I find online, so any help would be appreciated