Using Visual Studio 2012, I have a C# solution with several projects. These projects belong to one of two namespaces, say Alpha.Beta.Gamma.Delta and Alpha Beta.Gamma.Tau. The default project in the solution belongs to the Delta namespace and references
(has a reference to) projects in the Tau namespace. It includes a "using" statement at the beginning of the file, "using Alpha.Beta.Gamma.Tau". No problem. Another project in the Delta namespace does exactly the same thing, but the compiler
complains in the "using" statement that there is no Tau namespace in the Alpha.Beta.Gamma namespace ("...are you missing an assembly reference?"). It complains even though Intellisense recognizes the Tau namespace when typing the using
statement and detects compilation errors with Tau class references within the file. I verified that project dependencies are set up correctly. It acts as if I hadn't included a reference, but it's there. What am I doing wrong?
↧