Why won't my script files open?

My script files cannot be opened. Visual studio is selected in the preference section and when I try to open the script files, unity does not react.
I tried reinstalling visual studio and unity. It didn’t work. It used to be opening. It may have happened since Visual studio was last updated.
I’ve been dealing with this for 2 days, but couldn’t find any solution.

  1. Unity > Edit > Preferences > External Script Editor > Browse:

    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\devenv.exe

  1. Regenerate project files

after deleting projects on my computer it was fixed :frowning: thanks for help