It's giving me the error when I try to add the component to the project, not in any of my code.

(When you go project|components on the menu)