Packaging error 'detected compiler newer than visual studio 2022' - beginner

Hello, thank you for your reply. I have downloaded the component you said:

I also downloaded an SDK before from here: https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/

this was the tutorial about the SDK download I used: https://www.youtube.com/watch?v=JHta1LaaUws

This is my version of windows in case that’s an issue:

I don’t have any older versions of visual studio, I do have Visual Studio Code which is another standalone software.

So after doing these steps the outcome remains the same:

This is the full output log, I didn’t quite understand the ‘upgrade’ parts which I also highlighted in yellow.