title: TLBIMP.EXE - Error TI0000 - *.dll is not a valid type library
body: <p>While building our project on the Build Server, the compilation fails with the error message:</p>
  
  <pre><code>TlbImp: error TI0000 : The input file 'C:\*.dll' is not a valid type library.
  </code></pre>
  
  <p>We tried to manually invoke the TlbImp command thru the VS2005 Command Prompt and the same error message appeared.</p>
  
  <p>To investigate, we tried to create a <em>clean</em> build environment in a Virtual Machine (Vbox), then we run the build there. It went fine.</p>
  
  <p>We also tried to invoke the same TlbImp command thru the VS2005 Command Prompt and it succeeded.</p>
  
  <p>With that, we are assuming that there is nothing wrong with the DLL. Do you have any idea what scenario(s) can cause this problem?</p>
  
  <p>EDIT:
  Found the problem, see my answer. ;)</p>