How do I code my Class Library so it is registerable by Regsvr32?
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
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Kirtan PatelRank #292 · 8.6K reputationPosted Aug 23, 2009, 1:02 PM EDT
Project > Properties > Assembly Information
Dennis Miller9 reputationPosted Aug 23, 2009, 3:58 PM EDT