Hi @Karol Kucharczyk ,
Welcome to Microsoft Q&A!
You can use VS2022 to work in project that was created in VS2019, you need to change the platform toolset version by right-clicking on Project > Properties > Configuration Properties > General > Platform Toolset.
If you can’t find your required toolset, you may need to install VS2019 to get the toolset.
For MSVC v142 - VS 2019 C++ x64/x86 build tools (v14.26), it is available in VS2019. You can find it in VS installer > Modify > Individual components.
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.