regsvr32 doesn't register my library as COM without dotnet 5 sdk

70 views Asked by At

regsvr32 doesn't register my library as COM without dotnet sdk I try to register my Library.comhost.dll as COM in registry, but without dotnet sdk I have issue

Result: enter image description here

After .net 5 sdk was installed my library was appeared in registry,

Result: enter image description here

Also I found out that I don't need all libraries from dotnet folder

The folder hierarchy with dlls which placed inside are enough to successfully registration enter image description here

My question: Potentially I don't want to download and install sdk for end consumers. So I need workaround for case without install sdk.

Do we have some workaround for my case or maybe some guesses about what I do wrong?

Please let me know about additional details from my side to help me

1

There are 1 answers