Errors in Visual Studio 2022. Using UE5.1.1 (latest from Epic Launcher)

If I create the standard template First Person Game and open the code in VS2022, I get errors. I can ignore the errors and compile inside the Editor as normal and all functions.

The same thing is happening in my first UE5 project. (Also note how it tells me to install the “UE Plugin” inside Visual Studio, which I have done. I also enabled it in the UE5 settings window)

I read in the comments of the plugin that 5.1.1 isn’t supported, but they seem to have replies telling them it is working and also the fact it isn’t supported is not mentioned in the actual plugin details posted by the developers.