M
msnews.microsoft.com
Hi all,
I am writing a COM aware C# lib. In this lib I want to create an assembly
that defines a COM interface and only a COM Interface. When I do this and
try to registist the assembly I get the error "COM Interop registration
failed. There are no registrable types in the built assembly." and the
assembly containing the coclass that implments the interface also fails with
the error "COM Interop registration failed. Could not find a type library
for assembly XXX".
I can get round the errors by adding a dummy coclass to the 'interface'
assembly, but I dont like this solution.
Does any one know how to create an assmbly that can register just a COM
Interface with no coclasses?
Steven Evans.
I am writing a COM aware C# lib. In this lib I want to create an assembly
that defines a COM interface and only a COM Interface. When I do this and
try to registist the assembly I get the error "COM Interop registration
failed. There are no registrable types in the built assembly." and the
assembly containing the coclass that implments the interface also fails with
the error "COM Interop registration failed. Could not find a type library
for assembly XXX".
I can get round the errors by adding a dummy coclass to the 'interface'
assembly, but I dont like this solution.
Does any one know how to create an assmbly that can register just a COM
Interface with no coclasses?
Steven Evans.