Undetermined error using Visual 2022 for writing shaders in Unity

Hi everyone, last year of college I learned how to create shaders in Unity using HLSL and shadergraph and recently I wanted to learn more and expand my knowledge, so I started setting up the environment.

I downloaded the project I used last time, where I had a few basic shaders already working and I thought I could check that code to refresh the way this works, my problem is that once I’ve opened any of the shaders code I realized that Visual Studio 2022 displays a lot of errors I can’t find a solution for.

I’ve checked with different Unity versions, different projects (old ones and newer ones) and all seem to return to the same problem. The thing is that they are not build errors, as I could track down they are IntelliSense errors or something related with that component, I’ve tried deleting Library and .vs folders, so they rebuild, I tried reinstalling both the whole IDE and the individual components, but nothing seems to solve it.

So I was wondering if maybe someone had encountered a similar error or could know how to solve it. I’ll attach a picture with all the errors and it’s respective error codes.

try Visual Studio Community 2019 ver 16.11.30

I ended up changing to Visual Studio Code, thanks anyways