This has been occurring several times a day for me this year (currently running VS version 17.9.2). I thought it was similar to previous experiences where restarting VS was the only thing that worked so that's what I've been doing.
However I just found that using Clean fixed it. First time I've actually found a use for the Clean function.