How do I code my Class Library so it is registerable by Regsvr32?

Aug 23 2009 4:38 PM
I have written a Class Library in C# VS2005. I wish to register the output DLL so that others can use it in their projects. I have tried MSDN and searched for samples, but no go as yet. I compile the DLL and get the message "Failed to find 'DLLRegisterServer' function in 'DLL'" when I try to register with 'Regsvr32'. I can use it in other projects by setting a reference to the DLL by 'Browsing' to it. It can then be used in the App. What do I do to make it registerable and interop able? Densher

Answers (2)