Udostępnij za pośrednictwem


Requirements for Registration-Free COM Interop

Support for registration-free COM interop varies slightly depending on the type of library assembly; specifically, whether the assembly is unmanaged (COM side-by-side) or managed (.NET-based). The following table shows the operating system and .NET Framework version requirements for each assembly type.

Assembly type

Operating system

.NET Framework version

COM side-by-side

Microsoft Windows XP

Not required.

.NET-based

Windows XP with SP2

NET Framework version 1.1 or later.

The Windows Server 2003 family also supports registration-free COM interop for .NET-based assemblies.

For a .NET-based class to be compatible with registry-free activation from COM, the class must have a default constructor and must be public.

See Also

Tasks

How to: Configure .NET-Based Components for Registration-Free Activation

Concepts

Configuring COM Components for Registration-Free Activation

Other Resources

Registration-Free COM Interop