Retrieving the COM class factory for component with CLSID {xxxxxxxxx} failed due to the following error: 80040154 Class not registered

1

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.

The project Platform target is "Any CPU".

But after executing the command dotnet myapp.dll, I still got following error message:

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)).

The dll is registered under HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WOW6432Node\

Why I am getting this error even it's already registered? Thanks!

c#
.net-core
registry
asked on Stack Overflow Dec 11, 2018 by wltz • edited Dec 11, 2018 by wltz

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0