title: When importing namespace compiler returns error message type or namespace name could not be found
body: <p>When I'm trying to import a namespace from another file, the compiler gives me the error message, &quot;type or namespace name could not be found&quot;. Take a look at my code below. Both files are in the same directory, so I don't understand what's wrong.</p>
  <p>Setup.cs (the main file)</p>
  <pre><code>using System;
  using ScreenTextLine; // Error is here.
  
  namespace Setup 
  {
      namespace Screen 
      {
          class Text 
          {
              static void Main(string[] args) {  }
          }
      }
  }
  </code></pre>
  <p>Problem.cs (the file with the namespace I'm trying to import)</p>
  <pre><code>using System;
  namespace Setup 
  {
      namespace ScreenTextLine
      {
          class WelcomeText 
          {
              static void Main(string[] args){}
          }
      }
  }
  </code></pre>