I am running UE 5.2 My VS solution file opens in VS 2019 and the Lyra Starter Game sample project is incompatible with that version so I need it to open the solution in 2022.
I applied changes as per above, modifying project settings and editor preferences. I then checked and modified the files DefaultEngine.ini and DefaultEditorPerProjectUserSettings.ini as indicated above. I rebuilt the project. Still opens in 2019.
I can get round the problem by right clicking the solution file, choosing “Open with” and then selecting the VS version I need but I would like to know what I am missing. Does anyone else have this problem?