Registred library not found in COM part of reference manager window

374 Views Asked by At

I have registered a library with RegAsm.exe. The following commands are tested in PowerShell:

C:\Windows\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe /codebase /tlb C:\Users\mostafa.khodakarami\source\repos\SinapLogo\SinapLogo\DLLs\Interop.UnityObjects.dll    
C:\Windows\Microsoft.NET\Framework64\v2.0.50727\RegAsm.exe /codebase /tlb C:\Users\mostafa.khodakarami\source\repos\SinapLogo\SinapLogo\DLLs\Interop.UnityObjects.dll    
C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe /codebase /tlb C:\Users\mostafa.khodakarami\source\repos\SinapLogo\SinapLogo\DLLs\Interop.UnityObjects.dll    
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\RegAsm.exe /codebase /tlb C:\Users\mostafa.khodakarami\source\repos\SinapLogo\SinapLogo\DLLs\Interop.UnityObjects.dll

And Tested without /codebase and /tlb.

But couldn't find library in COM But couldn't find library in COM

So I decided to add dll file directly as a reference (I know it's wrong but just for test). The following exception raised:

Retrieving the COM class factory for component with CLSID {72DB412A-6BF5-4920-A002-2AAC679951DF} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))

So according to microsoft documents the registered library's guid can be found in the following path:

HKEY_CLASSES_ROOT\CLSID\{72DB412A-6BF5-4920-A002-2AAC679951DF}

And it is: And it is

And restarted my PC. After reboot the library is not showing in COM libraries. So what is the tiny job that should be done to see the library in Reference Manager window?

The library is 64-bit (maybe written by visual basic) not registerable with Regsrv32 command.

It should be registered according to it's author documents: author documents

x86, x64 and Any CPU platform targets are tested.

Update: Library is registered in Wow6432Node too Library is registered in Wow6432Node too

0

There are 0 best solutions below