Create a registration-free COM DLL and manifest file

Creating a registration-free COM DLL is like creating an ordinary COM DLL and not registering it. If the COM is .NET-based, a manifest file is also needed. For more information on creating COM DLLs, refer to https://docs.microsoft.com/en-us/dotnet/framework/interop/configure-net-framework-based-com-components-for-reg.

Use the following example of a possible manifest.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
	<assemblyIdentity name="MyApplication.app" version="1.0.0.0"/>
	<dependency>
		<dependentAssembly>
			<assemblyIdentity name="Kofax.My.COM.Example" processorArchitecture="x86" version="1.0.0.0"/>
		</dependentAssembly>
	</dependency>
</assembly>

When you build a .NET-based DLL, enable the COM registration by selecting Register for COM interop in the Visual Studio properties for the DLL.

This registers your DLL, but you are able to unregister this DLL and then deploy it when you Invoke the assembly later.