COM components for activation without registration

I have a managed application (named managed.exe) that uses an unmanaged assembly (named unmanaged.dll). So far, we have created Interop.unmanaged.dll, the manage.exe application had a link to interop, and unmanaged.dll was registered in the registry. This works great.

Now I need to disable the file in the registry and use a closed assembly (although the registry still has an old version)

I found this article - Configuring COM components for activation without registration . I tried to create two manifests (both for the application and for the assembly), tried to put them as a resource, but nothing worked.

Can someone explain to me how to do this, step by step? Including manifest examples? Should I still work with the interop file as before?

I would be grateful for any advice ...

+4
source share
1 answer

Take a look at these two cross-cutting articles:

(this link is temporarily dead) Automatic Activation of COM Components: Walkthrough

Auto-Activate .NET-Based Components: Step-by-Step

It’s better here, I think: "Visa-free components of COM components" Part1 and Part2

+1
source

All Articles