title: Retrieving the COM class factory for component with CLSID {xxxxxxxxx} failed due to the following error: 80040154 Class not registered
body: <p>I have .Net Core project which rely on some third party libraries. I have used portability analyzer tool analyze the project, which is 100 at .Net Core + Playform Extensions. </p>
  
  <p>The project Platform target is "Any CPU".</p>
  
  <p>But after executing the command dotnet myapp.dll, I still got following error message:</p>
  
  <pre><code>Unhandled Exception: System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {xxxx-xxxx-xxxx-xxxx-xxxxxxxx} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
  </code></pre>
  
  <p>The dll is registered under HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WOW6432Node\</p>
  
  <p>Why I am getting this error even it's already registered? Thanks!</p>