I can't build my project because of visual script

When i updated unity editor to 2022 LTS i couldn’t build my project the error keep showing is with visual script i tried to update to other verson 2021 LTS but the same issue . when i back to my old verson 2021.1 every thing work well any help please

I dont know if it will get worse but you could try deleting those files

make a back up if you going to do this

I tried this before but unfortunately not worked
Thank you for your help my friend