UE 5.4.2 (Built from Source) + Visual Studio 2022 (Version 17.10.4)
I know this horse has been beat to death at this point, BUT I did not find any of the above answers to work for me. I have Unreal version 5.4.2 built from source. For anyone struggling with IntelliSense issues from UE 5.4 built from source using Visual Studio 2022 (Version 17.10.4)…
I may have a solution for you.
The real reason why I had intellisense errors is because I did not use a flag when using the GenerateProjectFiles.bat. I just double clicked the bat file. However, there are flags you can pass into this batch file. Instead of double clicking, I HIGHLY suggest this instead:
.\GenerateProjectFiles.bat -2022
Once I regenerated the solution with that flag, all intellisense errors were gone. Likely because it defaulted to value that does not play nice with VS 2022.