I’ve just downloaded and tested your project but was not able to see your problem.
Check if Unity.InputSystem is in your References list in VS. I looked for “input” because the list is quite long.

When I removed the reference, I got the same problem as you but when I restarted VS, the reference reappeared.
Have you already tried to remove the InputSystem package from the Package Manager and reinstall it?