When you right-click the .uproject file, do you have the option to Switch Engine Version? If so, make sure it is switched to the correct version of the engine.
When you right-click the .uproject file, do you have the option to Switch Engine Version? If so, make sure it is switched to the correct version of the engine.