I had this same issue in Visual Studio 22 (after updating from 17.8 to 17.12) and simply restarting it fixed the problem.