title: Linking two projects in a Visual studio solution
body: <p>I am having two projects in one solution called SOL, using Visual Studio: project 1 and project 2</p>
  
  <p>In each of projects: I am having some headers and cpp files.</p>
  
  <p>In project 2, I want to use a header existing in project 1: </p>
  
  <pre><code>#include "proj1.h"
  </code></pre>
  
  <p>I am having an error which states that the file doesn't exist:</p>
  
  <pre><code> Error  2   error C1083: Cannot open include file: 'proj1.h': No such file or directory C:\Users\...\Visual Studio 2010\Projects\SOL\proj2.cpp  28
  </code></pre>