problems opening all projects

So, i started to create a c++ file on my ue4 4.27.1, it says something that I can’t open for some reason. so i tried to download the latest 2022 version of visual studio. When i tried to access my whole project, it says the following modules are missing or built with a different engine version. When i try to rebuild it didnt work. Tried to uninstall what i have downloaded, didn’t work. Reseted unreal and everything, didn’t work. Created a new project, didn’t work. Searcehd a lot of places but i couldn’t understand any of them. I juststarted ue4 so please explain the steps a bit in detail, thanjk u

Did you tried VS2019?

Setting Up Visual Studio for Unreal Engine | Unreal Engine Documentation

I am on 2019 version and i updated it to 4.27.2, dtill didnt work.