missing a using directive or an assembly reference after adding them both
<p>Solution contains 2 projects:</p>

<p>Geo.Data project, which contains CodeRepository class, defined in namespace Geo.Data</p>

<p>ConsoleApp1 project, in which I have Program.cs class, where I want to instantiate CodeRepository from the other project.</p>

<p>So, I add to ConsoleApp1 - project references - the assembly from Geo.Data\Bin\Debug\Geo.Data.dll; I also add a using directive on top of Program.cs: using Geo.Data;</p>

<pre><code>using Geo.Data;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            Geo.Data.CodeRepository x = new Geo.Data.CodeRepository();
        // here, if I add x. after the dot I can all methods listed (from class CodeRepository)
    }
     }
}
</code></pre>

<p>CodeRepository is coloured accordingly, so it's recognized as being part of Geo.Data</p>

<p>However, I do get an error when running the solution. Just don't see what I am doing wrong:</p>

<blockquote>
  <p>The type or namespace name 'Geo' could not be found (are you missing a
  using directive or an assembly reference?)    ConsoleApp1\Program.cs</p>
</blockquote>

<p>As described earlier, I have already added both the using Geo.Data and the assembly reference to Geo.Data. Is this a conflict of diff namespaces or what? Thanks.
Also, after writing the first letter "G" in the using directive, it's suggested to me through intellisense to use Geo; so at that point it does find it. Problem is when I run the project. The error points to the using directive. Thanks!</p>