If you run into this message when building a Silverlight project and have a class name and a namespace name that are identical you might be suffering from some kind of naming problem in the Silverlight development environment.
I found another reference to the problem in an MSDN forum.
To solve the problem I renamed the class name to a different name (one that is not identical to the namespace name).
Hope this helps...