This is driving me crazy.
I have a rather large project that I am trying to modify. I noticed earlier that when I typed DbCommand, visual studio did
DbCommand
I just had this issue.
I tried all the above, but only this worked:
build the solution.
This fixed the issue for all builds moving forward for me.