Hey Surtur-
If you are trying to generate the sln file for a project, you can right click on the .uproject file and select Generate Visual Studio project files. If the project uses code (started as a C++ project or as a Blueprint project with custom code added), this will generated all of the necessary project files and create the .sln in the project’s directory folder along side the .uproject file.
Cheers