When I open my Unity scripts in Visual Studio 2022, I am greeted with this error:

I tried deleting all .csproj files before opening in VS and also tried reinstalling VS and Unity. The file being generated when I open VS after deleting it is giving me the incompatible error.
Not sure what to try now. Any ideas?
I tried deleting all .csproj files.... well, you shouldn't, they are part of the project. There is needed information for building your project there.The file being generated when I open VS afterwhat file ?Assembly-CSharpis the default assembly into which Unity compiles all custom scripts that are not within a specific assembly (defined by AssemblyDefinitions). All the.cspprojand.slnare generated by Unity and can safely be deleted