title: Error: not a class or struct name
body: <p>I am learning about referencing/ joining different projects together. I have successfully (at least I think I did) included a project into a new one via the Properties window (i.e: adding libraries, including dependencies) but when I created a class that inherits from another class it doesn't recognize it and it tells me "Error: not a class or struct name". What's even more strange is that it recognizes the #include "TestBaseClass.h" and its in here where the class in question resides. </p>
  
  <pre><code> //This is located in another project
   public class MyTestClass
   {
       public void testMethod(){}
   }
   //
  
   #include &lt;iostream&gt;
   #include "TestClass.h"
  
   using namespace MainSpace
   {
       class MyMainClass : public MyTestClass{}
   }
  </code></pre>