Visual Studio 2022 giving error IDE0051 on functions Start, Update, Awake, ect

Recently updated from Visual Studio 2019 to 2022 and have been getting this error on every script in every project. Beyond annoying because of how it greys out the entire function.

The functions still work but it is visually disgusting to look at.

I have tried deleting the library folder, deleting the .sln file, going to Edit<<Preferences<<ExternalTools and clicking regenerate project files with every combination of boxes checked, reinstalling visual studio, reinstalling unity, downloading every extension recommended from forums with the same issue.
Nothing.

This was never an issue until changing visual studio versions. I added the Game development with unity workload as well.

Same problem after updating to the new visual studio update.
Just roll back the visual studio to the previous one that you use, it’s work for me.

I would not recommend reverting to an earlier version… that is a dead end and clearly VS 2022 works fine. So something is up and you can fix it.

Did you install the Unity tooling? Install & configure Visual Studio Tools for Unity | Microsoft Learn

Yes I have done all the steps there and unfortunately to no avail.

Also to the post above suggesting to revert to vs2019, I could write a 20 page essay on why I would not do that due to the amount of bugs and issues that randomly appear and disappear. I switched to 2022 so that I would never have to use that god awful program again.

It’s a regression since version 17.12.0 Preview 4.0. It’s been reported already and the VS team is working on a fix.
https://developercommunity.visualstudio.com/t/Private-Unity-messages-incorrectly-marke/10779025

The 17.12.3 hotfix has just been released and it solved the problem !

Thanks! I thought I was doing something wrong this entire time.

Ha, that fixed that issue but I still don’t have any Unity Documentation showing in Visual Studio.