title: A reference to the "....dll" could not be added. c# -
body: <p>I got the same error with the following link but I couldn't solve my problem: 
  <a href="https://stackoverflow.com/questions/3456758/a-reference-to-the-dll-could-not-be-added/">A reference to the dll could not be added</a></p>
  
  <blockquote>
    <p>A reference to the "....dll" could not be added.Please make sure that
    the file is accessible and that it is a valid assembly or COM
    component.</p>
  </blockquote>
  
  <p>As suggested, I located TblImp.exe in two directories: "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin" and "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\x64" </p>
  
  <p>I used on both command prompt and VS2015 to use CMOS_USB.dll with TblImp.exe but couldn't solve my problem. </p>
  
  <p>When I used command prompt I got;</p>
  
  <blockquote>
    <p>C:\Users\tufankesen>TlbImp.exe CMOS_USB.dll 'TlbImp.exe' is not
    recognized as an internal or external command, operable program or
    batch file.</p>
  </blockquote>
  
  <p>When I tried this in VS2015 Command window. I got;</p>
  
  <blockquote>
    <p>"Command "TlbImp.exe" is not valid."</p>
  </blockquote>
  
  <p>System Specs: 64-bit, VS2015 Extra: My source codes are in D:\Sources... folder</p>
  
  <p>Thanks for any hints/replies</p>