I have the same error with a custom control that inherits from Panel.
I rebuild the project and the problem is fix until I run again the solution.
It seems to be a bug, since the references exist and I do not nothing else but rebuild the project every time.
somebody give a solution please.