How to refer a class library's dll inside another class library project?
<p>I have a dll from a class library project AppconClient. I am referring that dll in another class library project p2. I copied that dll from project AppconClient and copied to <code>Bin\Debug</code> folder of the project p2 and I referred the dll by clicking add reference in the project p2.</p>

<p>I was happy to see the namespace of AppconClient when I tried to refer the dll by <code>using</code> keyword at the top of <code>Program.cs</code> in my project p2. And I could see the classes and methods of that dll inside my project p2. But when I tried to build the project p2 I got the error saying,</p>

<blockquote>
  <p>The type or namespace name 'AppconClient' could not be found (are you missing a using directive or an assembly reference?)</p>
</blockquote>

<p>But the same dll can be referenced in any WebApplication and it works fine also.</p>

<p>Can anyone tell me what could be the reason and solution for this?</p>
