title: C# wrong reference to namespace
body: <p>Okay this is driving me crazy. I got one almost finished project (which works perfectly) and I wanted to make another one in the same way. The thing is there is a solution with two layers DataAccessLayer and BusinessLogicLayer. Both of these layers have a Model library with all models in the project. I need to convert the model from the first layer to a model of a second layer in the manager library. This works in the finished project I received but I can not manage to make it on mine.
  The thing is I can't make the necessary references to work like they do on the finished project. The structure is:</p>
  
  <p>BusinessLogicLayer</p>
  
  <p>--Managers</p>
  
  <p>----Users</p>
  
  <p>--Models</p>
  
  <p>----User</p>
  
  <p>DataAccessLayer</p>
  
  <p>--Models</p>
  
  <p>----User</p>
  
  <p>In the Managers project I have a reference added to DataAccessLayer.Models.
  And inside the Users class I got:</p>
  
  <pre><code>using Library.BusinessLogicLayer.Models;
  </code></pre>
  
  <p>Now in my project this line is red underlined:</p>
  
  <blockquote>
    <p>Error CS0234  The type or namespace name 'Models' does not exist in the
    namespace 'Library.BusinessLogicLayer' (are you missing an assembly
    reference?)</p>
  </blockquote>
  
  <p>I am not even sure how and why this works on that original project. But I can't figure it out so it's working right on my project and the structure is the exact same. Anyone have an idea about this?</p>
  
  <p>EDIT:
  Dunno why I didn't upload this earlier. Here is the structure.
  <a href="https://i.imgur.com/srnySFJ.jpg" rel="nofollow noreferrer">https://i.imgur.com/srnySFJ.jpg</a></p>
  
  <p>EDIT2:
  Since it is not quite understandable I uploaded the whole project on github so you can take a closer look at it.
  <a href="https://github.com/Morsusy2k/Library" rel="nofollow noreferrer">https://github.com/Morsusy2k/Library</a></p>
  
  <p>And here is the problem:
  <a href="https://i.imgur.com/DvCvnMA.jpg" rel="nofollow noreferrer">https://i.imgur.com/DvCvnMA.jpg</a></p>