Issue with visual studio package

Library\PackageCache\com.unity.ide.visualstudio@2.0.18\Editor\VisualStudioIntegration.cs(28,18): error CS0246: The type or namespace name ‘Messager’ could not be found (are you missing a using directive or an assembly reference?)

I have tried everything, from reinstalling visual studio, unity, even looked on page 2 of google yet nothing worked. I have tried importing an older version of the package from a different project, yet it still cannot find the required file. This bug leads to visual studio 2022 being unusable because it is like notepad


same with the newest version installed, on a completely new project