Hi @Péter Hazai ,
Welcome to Microsoft Q&A!
If you want to open .sln file with Visual Studio 2022 Pro version, you can select Start > Settings > Apps > Default apps > Choose default apps by file type.
Then, you can navigate to .sln file and select the stable Visual Studio version you want to open with.
You can refer to: Change default programs in Windows.
Sincerely,
Anna
*
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.