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

Could you let me know what I am pasting into the folder? i’ve deleted the BuildConfiguration.xml file that was inside the folder. I have also uninstalled 14.42.

Could you let me know where to write this?

Thank you for helping me understand