title: A class doesn't exist in a namespace, although it does
body: <p>I have a class:</p>
  
  <pre><code>namespace MyApp.Data {
  public class ApiKeysContext : DbContext ...
  </code></pre>
  
  <p>And in other project in the same solution I have a reference to MyApp.Data.csproj
  Though, when making object:</p>
  
  <pre><code>var context = new MyApp.Data.ApiKeysContext();
  </code></pre>
  
  <p>Visual Studio says I am missing a reference. What can I do about it?</p>