The Project could not be complied, would u like to open it in visual studio error

You need to generate solution by right clicking uproject file. Open the solution in 2019. Right click the project in the solution explorer panel, click set as startup project, ensure the platform is set to win 64 and development editor, then right click the project in solution explorer again and build.