CS0246 error on namespace, but all types in the namespace resolve!

Trips

Well-known member
Joined
Aug 7, 2010
Messages
2,788
Im at a loss to understand how I can get a CS0246 error (The type or namespace name <name> could not be found) on a using statement and yet all the types in the class that reference the imported namespace resolve perfectly. Intellisense works
perfectly when typing the using statement and all types are correctly highlighted and their tooltips show that they are genuinely members of the troublesome namespace. The namespace and the types all show up perfectly in the object browser. The namespace is
defined in a source file that is part of the same assembly, but is seperate to any other namespace in the same assembly.
I should point out that this is VS2010 RTM and that Id appreciate any insight that might help me uncover the problem.

View the full article
 
Back
Top