As the topic says I have this issue where I am still getting error messages in Visual Studio 2022. Works just fine in unity but intellisense is angry at me and it gets annoying. I tried creating another file to see if it pulls InputSystem library, I tried regenerating project files, and I tried going down a verison of VS Editor in unity’s Package Manager.
Here is what I see in Visual Studio 2022 (Do note that it VS Code and VS 2022 are different in case some people are unaware)
I tried going back a version of Visual Studio Editor in package manger that usually works sometimes with VS Code but I never really have issues on VS 2022 before.