title: LNK2020: unresolved token (06000001)
body: <p>There are two existing A.vcxproj  and M.vcxproj .
  A.vcxproj  output is (A.lib) &amp; M.vcxproj  output type is (M.exe) .
  In the M.vcproj project settings Linker->Input->Additional Dependencies A.Lib is given as input. Both the projects support Common Language Run Time Support(/clr). These two projects are succesfuly able to get build and M.exe is working fine.</p>
  
  <p>Now to A.vcxproj , I have added two files EDBGW.h and EDBGW.cpp , where 
  EDBGW.h file has :</p>
  
  <pre><code>public ref class EDBGW{
    public :
     EDBGW();
  }
  </code></pre>
  
  <p>EDBGW.cpp has implementation of the constructor:</p>
  
  <pre><code>EDBGW::EDBGW(){
  
  }
  </code></pre>
  
  <p>There is one more file R.h which includes EDBGW.h i.e.
  in R.h </p>
  
  <pre><code>  #include "EDBGW.h"
  </code></pre>
  
  <p>Now When I build A.vcxproj , there are no build errors
  But if I build M.vcxproj , there is a linker error</p>
  
  <pre><code>2&gt;A.lib(R.obj) : error LNK2020: unresolved token (06000001) EDBGW::.ctor
  </code></pre>
  
  <p>Note: I donot use EDBGW in M.vcproj at all.
  But still I have this linker error.</p>