After upgrading to Unity 2018.1.7 I started using Visual Studio for Mac 7.5.3. My code is all underlined with errors like "predefined type System.Void is not defined or imported", I think it never worked properly.
Unfortunately the forum doesn't allow me to post an image, but basically any references to types and classes are underlined, along with methods and etc.
I tried deleting the solution and related files and the VS cache under
~/Library/Caches but it didn't work. I also disabled Source Analysis but it keeps underlining everything.
How can I fix this?