This worked for me: Delete your .sln file. Open the project in the Unreal 5 editor and then select the ‘Refresh Visual Studio Project’ option under the Tools menu at the top.