UE5.1 VS2022 C++ Build Error With MSB3073

My fix when I check the version of my project still set to 5.4 then when I tried to change version to source build and clean up all files and folder it worked!

Binaries
DerivedDataCache
Intermediate
Saved

Generate Source files
Open SLN and Rebuild

Also Disable Live Coding