How to update UE4 source files' visual studio version?

Hi, I just loaded an older (few months) project that was built with UE4 version (4.27.1 or 4.27, I don’t remember) into a newer UE4 version 4.27.2 and it works fine.
Inside Visual Studio, both besides the engine source file, and the game source file, it is written in between brackets (Visual Studio 2017), while I am using a VS 2022. How can I change that?

The answer is to simply delete and regenerate visual studio file. My bad I didn’t even try before asking.