The problem is solved!
I wanted to use TypeScript in this project. This dialog has appeared. I answered yes.

But Visual Studio somehow failed to update TypeScript.
Next, we looked through Tools> Extensions and Updates and updated TypeScript manually.

After a successful TypeScript update, the solution opens normally!
source share